From 4e6f5fabd4094ed16e1271c7d48251bdbd07143e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Oct 2018 20:20:16 +1100 Subject: Fix topbar UI being lost on undo w/ mode change --- source/blender/editors/undo/ed_undo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/undo') diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c index 1d5c57a39b4..8b4292dedbd 100644 --- a/source/blender/editors/undo/ed_undo.c +++ b/source/blender/editors/undo/ed_undo.c @@ -214,6 +214,8 @@ static int ed_undo_step(bContext *C, int step, const char *undoname, ReportList WM_event_add_notifier(C, NC_WINDOW, NULL); WM_event_add_notifier(C, NC_WM | ND_UNDO, NULL); + WM_toolsystem_refresh_active(C); + Main *bmain = CTX_data_main(C); WM_toolsystem_refresh_screen_all(bmain); -- cgit v1.2.3