Fix T74585: Crash when scrolling viewport shading pop-up
Was dereferencing NULL pointer. Mistake from d5572eacc5.
This commit is contained in:
@@ -9616,7 +9616,7 @@ static int ui_handle_menu_event(bContext *C,
|
||||
but->active->cancel = true;
|
||||
button_activate_exit(C, but, but->active, false, false);
|
||||
}
|
||||
WM_event_add_mousemove(but->active->window);
|
||||
WM_event_add_mousemove(CTX_wm_window(C));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user