diff options
author | Yevgeny Makarov <jenkm> | 2020-01-27 18:07:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-27 19:38:21 +0300 |
commit | f4f57ed21aa639e962fb3a28a63cc277e9f5c3ed (patch) | |
tree | acdb14ad5653328d41b50a7e07d0aa2bd4f0a1cb /source/blender/windowmanager/intern | |
parent | 2662ba24380471be0972fcaa545995c1514dbc24 (diff) |
Fix part of T65404: quit dialog doesn't show if Blender is minimized
This solves the problem for macOS and Linux, but not Windows yet.
Differential Revision: https://developer.blender.org/D6673
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index e68d4902c66..583a11f1244 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -395,6 +395,7 @@ void wm_quit_with_optional_confirmation_prompt(bContext *C, wmWindow *win) if (U.uiflag & USER_SAVE_PROMPT) { if (wm_file_or_image_is_modified(C) && !G.background) { + wm_window_raise(win); wm_confirm_quit(C); } else { |