diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index 71ca337..d6d3da9 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -1102,7 +1102,7 @@ void on_settings_usergroups_system_open(GtkWidget *self, main_window *widgets){ void on_user_shell_changed(GtkWidget *self, ubl_settings_usergroups_user_window *window){ const char *current = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(window->userShellCombo)); - if (!strcmp(current,SET_LABEL)){ + if (!yon_char_is_empty(current)&&!strcmp(current,SET_LABEL)){ if(gtk_combo_box_get_active(GTK_COMBO_BOX(window->userShellCombo))>1){ gtk_widget_set_sensitive(window->userShellEntry,1); } else {