diff options
Diffstat (limited to 'source/blender/editors/interface/interface_region_menu_popup.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_menu_popup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_menu_popup.c b/source/blender/editors/interface/interface_region_menu_popup.c index bda19b712a1..a20c4fe9379 100644 --- a/source/blender/editors/interface/interface_region_menu_popup.c +++ b/source/blender/editors/interface/interface_region_menu_popup.c @@ -480,8 +480,9 @@ void UI_popup_menu_reports(bContext *C, ReportList *reports) uiPopupMenu *pup = NULL; uiLayout *layout; - if (!CTX_wm_window(C)) + if (!CTX_wm_window(C)) { return; + } for (report = reports->list.first; report; report = report->next) { int icon; |