diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 82d6cc1..f72b4f9 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1952,9 +1952,10 @@ void on_log_edit(GtkWidget *self,main_window *widgets){ gtk_widget_set_sensitive(RemoveButton,0); gtk_widget_set_sensitive(entry,0); gtk_widget_set_sensitive(SearchButton,0); + protected++; + } else { g_signal_connect(G_OBJECT(RemoveButton),"clicked",G_CALLBACK(on_log_path_remove),window); g_signal_connect(G_OBJECT(SearchButton),"clicked",G_CALLBACK(on_log_path_choose),window); - protected++; } if (!strcmp(name,"journald")) { gtk_widget_hide(AppendButton);