From 19d16fa88deaba86bcde6a1655c9db3fe3d79cd0 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 28 Aug 2025 15:32:43 +0600 Subject: [PATCH] Last connit return --- source/ubl-settings-repomanager-storage-window.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/source/ubl-settings-repomanager-storage-window.c b/source/ubl-settings-repomanager-storage-window.c index 50cbdfa..394400c 100644 --- a/source/ubl-settings-repomanager-storage-window.c +++ b/source/ubl-settings-repomanager-storage-window.c @@ -53,12 +53,12 @@ void on_storage_open(GtkWidget *self, storage_config_window *window){ int exist_size=0; config_str exist_storages = (config_str)g_hash_table_get_keys_as_array(main_config.storages,&exist_size); for (int i=0;iStatusBox),INSIDE_STORAGE_ERROR_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); return; } } - yon_char_parsed_free(exist_storages,exist_size); storage_struct *storage = yon_storage_struct_new(); storage->path=dialog->last_success_selection; storage->name = yon_char_new(storage->path); @@ -71,6 +71,7 @@ void on_storage_open(GtkWidget *self, storage_config_window *window){ gtk_combo_box_set_active_id(GTK_COMBO_BOX(window->StoragePathCombo),storage->path); yon_config_register(storage->path,STORAGE_command,""); yon_storage_open_add_repos(storage->path,window); + yon_storage_config_update(window); } } @@ -254,11 +255,13 @@ void on_storage_accept(GtkWidget *self, dictionary *dict){ for (int i=0;istorages_copy,keys[i]),NULL); } g_hash_table_remove_all(window->storages_copy);