diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 6dbbc36..237f275 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -337,11 +337,9 @@ void *on_config_save(void *data){ yon_debug_output("%s\n","SUCCESS"); main_config.install_thread=NULL; main_config.install_complete=1; - if (gtk_notebook_get_current_page(GTK_NOTEBOOK(widgets->Notebook))){ if (main_config.save_done){ gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION); } - } main_config.install_thread=(GThread*)0x0; main_config.config_save_thread=NULL; } diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index b81f2c3..6feade6 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -112,7 +112,7 @@ NULL #define part_type_parameter "AUTOINSTALL[part_fs_type]" #define part_type_parameter_command "ubconfig --source global get [autoinstall] AUTOINSTALL[part_fs_type]" -#define save_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] ",parameters, "; nice ubinstall2 autoinstall'", NULL) +#define save_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] ",parameters, "; nice ubinstall2 autoinstall --test'", NULL) #define set_user_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] ",parameters,";nice ubinstall2 autoconfig'",NULL)