From bf84c6db560b2adb4f2135dcbcfc4b5b14a39496 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 20 Feb 2026 16:45:24 +0600 Subject: [PATCH] Added check for empty main components --- source/ubinstall-gtk-components.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index b297d91..2cef0a4 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -108,7 +108,10 @@ int yon_os_components_save(main_window *widgets){ char *final = yon_char_parsed_to_string(modules,size,","); yon_config_register(modules_parameter,modules_parameter_command,final); } else { - yon_config_remove_by_key(modules_parameter); + // yon_config_remove_by_key(modules_parameter); + yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),NOTHING_CHOSEN_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); + yon_ubl_status_highlight_incorrect(widgets->OSSoftwareListBox); + return 0; } return 1; }