From dbd2e724b146ea011971b3413e8fc18af38a1b2c Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 21 Aug 2023 10:06:00 +0600 Subject: [PATCH] Fixed packages were not saving if repo wasn't updated --- source/ubl-settings-repomanager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/ubl-settings-repomanager.c b/source/ubl-settings-repomanager.c index d802c92..fb7da9c 100644 --- a/source/ubl-settings-repomanager.c +++ b/source/ubl-settings-repomanager.c @@ -248,6 +248,7 @@ void on_save(){ yon_char_divide(pack_path,yon_char_find_last(pack_path,'/')); pack_path = yon_char_unite(origin_flagged,"/pool/overlay/",pack_path,NULL); gtk_tree_store_set(main_config.tree_store,&childIter,2,pack_path,-1); + repostatus=1; } else if (pack_status==-1){ remove_packages = yon_char_unite(remove_packages ? yon_char_append(remove_packages,",") : "",pack_code_name,NULL); }