summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-01-29 11:30:38 -0700
committerJohn Stebbins <[email protected]>2017-01-29 11:30:38 -0700
commit56aca27e29c3e20dd67c8539dc5be9e4d1fc50b3 (patch)
tree4c822fcbd7fb5cc71853bb2393fbda53d12495f9
parentd03ffb0aa349145ebea8bf314f94f55f3f1ba370 (diff)
LinGui: fix widget focus problem
-rw-r--r--gtk/src/callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 62e8f2363..be38dd108 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -250,6 +250,7 @@ ghb_check_dependency(
}
sensitive = dep_check(ud, dep_name, &hide);
gtk_widget_set_sensitive(GTK_WIDGET(dep_object), sensitive);
+ gtk_widget_set_can_focus(GTK_WIDGET(dep_object), sensitive);
if (!sensitive && hide)
{
if (gtk_widget_get_visible(GTK_WIDGET(dep_object)))