Languages window empty string entry setting fix

pull/270/head
parent d478faf37f
commit 32dab2c4f1

@ -183,7 +183,9 @@ language_window *yon_language_window_new(char *chosen_languages){
g_signal_connect(G_OBJECT(window->ToggleCell),"toggled",G_CALLBACK(on_locale_toggle),window);
yon_gtk_tree_view_minimal_fixed_size_set_full(GTK_TREE_VIEW(window->LanguagesTree));
gtk_entry_set_text(GTK_ENTRY(window->ManualEntry),chosen_languages);
if (!yon_char_is_empty(window->languages)){
gtk_entry_set_text(GTK_ENTRY(window->ManualEntry),chosen_languages);
}
gtk_overlay_add_overlay(GTK_OVERLAY(window->LoadingOverlay),window->LoadingSpinner);
g_thread_new("locales-thread",(GThreadFunc)yon_locales_load_func,window);

Loading…
Cancel
Save