diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-09-06 13:48:23 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-09-06 13:48:23 +0300 |
commit | 4c20c53b8980535fd0d62a5285a1e27bbe6e829d (patch) | |
tree | f73deba16cab5bea802ea366a69e7b401386c8a8 /source/blender/windowmanager | |
parent | 39f3474cf138c8245c0cb6faa314971dd465c6e7 (diff) |
Fix: File browser errors not reported in the UI
This is a partial fix, in that it only brings back the banner reports in
the status bar. The popups still don't show up but I need to investigate
more.
It's really ugly that reports rely on wmWindowManager.winactive, but
that's how it is...
Partialy fixes T69581.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 32324745bc4..7216278c9f9 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -2397,6 +2397,7 @@ static int wm_handler_fileselect_do(bContext *C, CTX_wm_window_set(C, ctx_win); // wm_window_close() NULLs. /* Some operators expect a drawable context (for EVT_FILESELECT_EXEC) */ wm_window_make_drawable(wm, ctx_win); + wm->winactive = ctx_win; /* Reports use this... */ } else if (file_sa->full) { ED_screen_full_prevspace(C, file_sa); |