diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-11 03:29:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-11 03:29:08 +0300 |
commit | 2c8ca79683ee76392c3185c85502f69505c4b98d (patch) | |
tree | df79dc733e17c2e80e884d51206e1a7d46a66b70 /source/blender/windowmanager | |
parent | 24b29873ecae0cccde7fe5a060e2d7543c94f969 (diff) |
WM: show file selector errors in header
Was too easy to miss errors from the file selector, now show in the info header.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index b19030a27a6..d31c20f7eab 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -1866,6 +1866,9 @@ static int wm_handler_fileselect_do(bContext *C, ListBase *handlers, wmEventHand /* add reports to the global list, otherwise they are not seen */ BLI_movelisttolist(&CTX_wm_reports(C)->list, &handler->op->reports->list); + /* more hacks, since we meddle with reports, banner display doesn't happen automatic */ + WM_report_banner_show(C); + CTX_wm_window_set(C, win_prev); CTX_wm_area_set(C, area_prev); CTX_wm_region_set(C, ar_prev); |