diff --git a/source/ubl-settings-video.c b/source/ubl-settings-video.c index 6dfcbc5..f5aa998 100644 --- a/source/ubl-settings-video.c +++ b/source/ubl-settings-video.c @@ -1255,7 +1255,8 @@ void yon_adapter_window_setup(main_window *widgets){ } void yon_set_sensitive_from_combo_box(GtkComboBox *toggle, GtkWidget *target){ - gtk_widget_set_sensitive(target,!gtk_combo_box_get_active(toggle)>1 ? 1 : 0); + int active = gtk_combo_box_get_active(toggle); + gtk_widget_set_sensitive(target,active>1 ? 1 : 0); } /** void yon_setup_widgets(main_window *widgets) diff --git a/ubl-settings-video.glade b/ubl-settings-video.glade index dc48158..0acbc20 100644 --- a/ubl-settings-video.glade +++ b/ubl-settings-video.glade @@ -884,6 +884,7 @@ True + False True @@ -949,6 +950,7 @@ True + False True