mirror of https://github.com/GNOME/gimp.git
app: in GimpSearchPopup, activate selected action after closing popup
Otherwise, if the action displays a dialog, the dialog doesn't have focus.
This commit is contained in:
parent
d87fb81f1f
commit
fe3339e215
|
@ -662,10 +662,10 @@ gimp_search_popup_run_selected (GimpSearchPopup *popup)
|
|||
|
||||
if (gtk_action_is_sensitive (action))
|
||||
{
|
||||
gtk_action_activate (action);
|
||||
|
||||
/* Close the search popup on activation. */
|
||||
GIMP_POPUP_CLASS (parent_class)->cancel (GIMP_POPUP (popup));
|
||||
|
||||
gtk_action_activate (action);
|
||||
}
|
||||
|
||||
g_object_unref (action);
|
||||
|
|
Loading…
Reference in New Issue