Fixed saving confirmatino window from user and group update function

pull/271/head
parent e830c9f0cb
commit d4ef71c5b4
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -486,7 +486,11 @@ void on_save_done(main_window *widgets, config_str output, int size){
free(final_output); free(final_output);
} }
yon_char_parsed_free(output,size); yon_char_parsed_free(output,size);
on_config_update(NULL,widgets); if (main_config.load_mode==YON_CONFIG_GLOBAL){
on_config_global_load(NULL,widgets);
} else {
on_config_local_load(NULL,widgets);
}
if (main_config.load_mode==YON_CONFIG_LOCAL){ if (main_config.load_mode==YON_CONFIG_LOCAL){
yon_accept_changes(); yon_accept_changes();
yon_samba_sync_proceed(); yon_samba_sync_proceed();

Loading…
Cancel
Save