Fix missing info space redraw when modal operators report while running

This commit is contained in:
Campbell Barton 2024-02-22 22:10:38 +11:00
parent a1b95f69fa
commit 20c729b902

@ -2502,6 +2502,7 @@ static eHandlerActionFlag wm_handler_operator_call(bContext *C,
else { else {
/* Not very common, but modal operators may report before finishing. */ /* Not very common, but modal operators may report before finishing. */
if (!BLI_listbase_is_empty(&op->reports->list)) { if (!BLI_listbase_is_empty(&op->reports->list)) {
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_INFO_REPORT, nullptr);
WM_reports_from_reports_move(wm, op->reports); WM_reports_from_reports_move(wm, op->reports);
} }
} }