Fixed rendering of missing saving parameters

pull/15/head
parent f2bfcfa5ba
commit c65d78a138

@ -352,6 +352,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
struct loaded_config *current_loaded = yon_config_convert_parameter(current_config,current_size);
struct loaded_config *current = NULL;
if (current_loaded){
for_dictionaries(current,current_loaded){
dictionary *dict = yon_dictionary_get((dictionary**)&config_compare,current->key);
gboolean status=0;
@ -390,11 +391,12 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
int status=0;
char *compare_string = yon_char_unite((char*)current->data,"\n",NULL);
gtk_list_store_append(window->list,&iter);
gtk_list_store_set(window->list,&iter,0,0,1,current->key,3,(char*)current->data,4,compare_string,5,rgba_string,6,1,-1);
gtk_list_store_set(window->list,&iter,0,0,1,current->key,2,(char*)current->data,4,compare_string,5,rgba_string,6,1,-1);
free(compare_string);
}
}
}
}
GtkTreeIter iter;
if (!gtk_tree_model_get_iter_first(GTK_TREE_MODEL(window->list),&iter)){
gtk_widget_destroy(window->Window);

Loading…
Cancel
Save