Fixed custom config loading

pull/82/head
Ivan Dmitrievich Yartsev 10 months ago
parent e951c7313c
commit e139a3e0fb

@ -57,13 +57,13 @@ void yon_load_proceed(YON_CONFIG_TYPE type){
if (!yon_char_is_empty(file)){ if (!yon_char_is_empty(file)){
path=file; path=file;
} }
yon_config_clean();
char *command = yon_config_get_custom_command(path);
yon_config_load_config(type,command,NULL);
gtk_widget_destroy(dialog); gtk_widget_destroy(dialog);
} else { } else {
gtk_widget_destroy(dialog); gtk_widget_destroy(dialog);
} }
yon_config_clean();
char *command = yon_config_get_custom_command(path);
yon_config_load_config(type,command,NULL);
} }
} }

Loading…
Cancel
Save