mirror of https://github.com/GNOME/gimp.git
app - call to keep the active shell in single window mode switch out of loop.
Small fix from commit 2697b29
. This previous commit was working well, but
implied calling this method as many time as there are opened shells,
whereas once is enough.
This commit is contained in:
parent
112fa53730
commit
8ef5fca062
|
@ -495,13 +495,13 @@ gimp_ui_configurer_configure_for_single_window (GimpUIConfigurer *ui_configurer)
|
|||
gimp_ui_configurer_move_shells (ui_configurer,
|
||||
image_window,
|
||||
uber_image_window);
|
||||
/* Ensure the context shell remains active after mode switch. */
|
||||
gimp_image_window_set_active_shell (uber_image_window, active_shell);
|
||||
|
||||
/* Destroy the window */
|
||||
gimp_image_window_destroy (image_window);
|
||||
}
|
||||
|
||||
/* Ensure the context shell remains active after mode switch. */
|
||||
gimp_image_window_set_active_shell (uber_image_window, active_shell);
|
||||
|
||||
g_list_free (windows);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue