forked from bartvdbraak/blender
Fix for crash for 'Edit Source'
was accessing freed menu region.
This commit is contained in:
parent
026cb6bdeb
commit
44e02651ab
@ -9217,6 +9217,7 @@ static int ui_popup_handler(bContext *C, const wmEvent *event, void *userdata)
|
|||||||
|
|
||||||
ui_popup_block_free(C, menu);
|
ui_popup_block_free(C, menu);
|
||||||
UI_popup_handlers_remove(&win->modalhandlers, menu);
|
UI_popup_handlers_remove(&win->modalhandlers, menu);
|
||||||
|
CTX_wm_menu_set(C, NULL);
|
||||||
|
|
||||||
#ifdef USE_DRAG_TOGGLE
|
#ifdef USE_DRAG_TOGGLE
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user