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:
Ell 2017-11-10 09:46:52 -05:00
parent d87fb81f1f
commit fe3339e215
1 changed files with 2 additions and 2 deletions

View File

@ -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);