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:
@ -495,13 +495,13 @@ gimp_ui_configurer_configure_for_single_window (GimpUIConfigurer *ui_configurer)
|
|||||||
gimp_ui_configurer_move_shells (ui_configurer,
|
gimp_ui_configurer_move_shells (ui_configurer,
|
||||||
image_window,
|
image_window,
|
||||||
uber_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 */
|
/* Destroy the window */
|
||||||
gimp_image_window_destroy (image_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);
|
g_list_free (windows);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user