diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-04 14:22:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-04 14:25:53 +0300 |
commit | 44e02651ab369772db492e1c58e7a8860d092df2 (patch) | |
tree | 4ed6eeadfba5974037aca639cc24c9c50888f0c4 /source/blender | |
parent | 026cb6bdebd7174fbb829c441c0423f6cf31324c (diff) |
Fix for crash for 'Edit Source'
was accessing freed menu region.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index c7ceea05b4f..33eee810112 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -9217,6 +9217,7 @@ static int ui_popup_handler(bContext *C, const wmEvent *event, void *userdata) ui_popup_block_free(C, menu); UI_popup_handlers_remove(&win->modalhandlers, menu); + CTX_wm_menu_set(C, NULL); #ifdef USE_DRAG_TOGGLE { |