From eb16e9cbbf3203725e1088b44e9faa3288f95155 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 24 Apr 2024 09:15:25 +0600 Subject: [PATCH] Fixed checking of domain status before interface data loading --- source/ubl-settings-system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-system.c b/source/ubl-settings-system.c index 047ac4c..47abbb5 100644 --- a/source/ubl-settings-system.c +++ b/source/ubl-settings-system.c @@ -562,7 +562,6 @@ connection_window *yon_connection_window_new(){ g_signal_connect(G_OBJECT(window->StatusEntry),"clicked",G_CALLBACK(on_status_clicked),window); g_signal_connect(G_OBJECT(window->FindEntry),"clicked",G_CALLBACK(on_find_domains_clicked),window); g_signal_connect(G_OBJECT(window->AdressEntry),"focus-out-event",G_CALLBACK(yon_update_thread),window); - yon_update_thread(NULL,NULL,window); return window; } @@ -649,6 +648,7 @@ void on_domain_opened(GtkWidget *self, main_window *widgets){ yon_dictionary_add_or_create_if_exists_with_data(dict,"window",window); g_signal_connect(G_OBJECT(window->SaveButton),"clicked",G_CALLBACK(on_domain_connect),dict); g_signal_connect(G_OBJECT(window->Window),"destroy",G_CALLBACK(on_check_domain_connected),widgets); + yon_update_thread(NULL,NULL,window); gtk_widget_show(window->Window); }