Fixed update button loading mechanism

pull/107/head
parent 24625521e6
commit 3ba9ee1d2a

@ -2076,8 +2076,12 @@ void on_main_delete(GtkWidget *self, main_window *widgets){
} }
void on_config_update(GtkWidget *self, main_window *widgets){ void on_config_update(GtkWidget *self, main_window *widgets){
yon_config_load_register(main_config.load_mode==1?YON_CONFIG_LOCAL:YON_CONFIG_GLOBAL,"users","DEFAULTPASSWD DEFAULTROOTPASSWD DEFAULTUSER HASHPASSWD USERGROUPS ADDADM USERADD[*] USERSHADOW[*] GROUPADD[*]",NULL); if (main_config.load_mode==0){
yon_interface_update(widgets); on_config_global_load(NULL,widgets);
} else {
on_config_local_load(NULL,widgets);
}
// yon_interface_update(widgets);
} }

Loading…
Cancel
Save