mirror of https://github.com/GNOME/gimp.git
app: keep focus on the quit dialog when saving.
Otherwise the quit dialog is still in front yet it has no focus and one doesn't see this immediately. Hitting ctrl-d to exit and ignore any subsequent files for instance duplicates the current active image instead.
This commit is contained in:
parent
f67bc227dc
commit
8aa0a04854
|
@ -528,6 +528,9 @@ quit_close_all_dialog_save_clicked (GtkCellRenderer *cell,
|
|||
manager = gimp_image_window_get_ui_manager (window);
|
||||
|
||||
gimp_display_shell_present (shell);
|
||||
/* Make sure the quit dialog kept keyboard focus when
|
||||
* the save dialog will exit. */
|
||||
gtk_window_present (GTK_WINDOW (private->dialog));
|
||||
|
||||
if (state & GDK_SHIFT_MASK)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue