forked from AuroraMiddleware/gtk
popover bar: Don't grab focus away from open menus
It makes them unhappy and disappear.
This commit is contained in:
parent
8452b9a13d
commit
143ea34ca1
@ -123,7 +123,7 @@ set_active_item (GtkPopoverBar *bar,
|
||||
{
|
||||
if (popup || (was_popup && changed))
|
||||
gtk_popover_popup (bar->active_item->popover);
|
||||
else
|
||||
else if (changed)
|
||||
gtk_widget_grab_focus (GTK_WIDGET (bar->active_item));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user