From d0c6d03ddb3dbacbd5acf76f922caccbdaed0369 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 4 Dec 2023 14:46:27 +0600 Subject: [PATCH] Fixed journal buttons updates at monitoring tab --- source/ubl-settings-logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 09c5993..679ca9d 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -1475,7 +1475,6 @@ void on_logrotate_remove(GtkWidget *self, logrotate_window *window){ char *paths; gtk_tree_model_get(model,&iter,0,&paths,-1); gtk_list_store_remove(main_config.logrotate_list,&iter); - yon_char_replace(paths,"\n",","); yon_config_remove_by_key(LOGROTATE(paths)); } } @@ -2226,6 +2225,7 @@ void on_log_remove(GtkWidget *self, main_window *widgets){ } paths = yon_char_divide(paths,strlen(paths)-strlen(stay)); gtk_list_store_set(widgets->list,&iter,1,paths,3,1,-1); + gtk_tree_selection_unselect_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(widgets->list))); } } yon_logs_custom_save(widgets);