Removed samba applying before saving

pull/186/head
parent d51522f826
commit 2aa660ae12

@ -415,7 +415,6 @@ void on_save_done(main_window *widgets, config_str output, int size){
void on_config_save(GtkWidget *self, main_window *widgets){ void on_config_save(GtkWidget *self, main_window *widgets){
yon_samba_sync_proceed();
main_config.save_config=2; main_config.save_config=2;
template_saving_window *window = yon_save_proceed(NULL,YON_CONFIG_BOTH,config_get_command("global"),NULL); template_saving_window *window = yon_save_proceed(NULL,YON_CONFIG_BOTH,config_get_command("global"),NULL);
if (window){ if (window){
@ -505,7 +504,6 @@ void on_config_local_save(GtkWidget *self, main_window *widgets){
free(key); free(key);
free(value); free(value);
} }
yon_samba_sync_proceed();
template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,config_get_command("system"),NULL); template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,config_get_command("system"),NULL);
if (window){ if (window){
yon_hide_passwords(window); yon_hide_passwords(window);

Loading…
Cancel
Save