From dfe89a381fbf6648228aaaff198f20f620b084bc Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Wed, 18 Jan 2017 22:17:37 +0000 Subject: [PATCH] =?UTF-8?q?combobox:=20Don=E2=80=99t=20select=20active=20i?= =?UTF-8?q?tem=20if=20it=E2=80=99s=20hidden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I hope no one ever actually brings such a silly item into this world, but this achieves symmetry with the similar checks immediately after. --- gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index dc81769e40..4b1065905e 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2179,7 +2179,7 @@ gtk_combo_box_menu_popup (GtkComboBox *combo_box, GList *i; GtkWidget *child; - if (!active) + if (!(active && gtk_widget_get_visible (active))) { for (i = GTK_MENU_SHELL (priv->popup_widget)->priv->children; i && !active; i = i->next) {