diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-23 11:31:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-23 11:31:10 +0300 |
commit | f8a3636374b76f6db31be21beaa0e40857644bc4 (patch) | |
tree | 59cc2b172d8bf0e2eb0d838c2ac127029c0b0027 /source/blender/editors/interface/interface_intern.h | |
parent | 6cd0484de8c765e5ce0f2072c7b10af0794ce7f8 (diff) |
UI: alternate fix for empty context menu
block and layout could be NULL and checking this everywhere
wasn't practical.
Instead of lazy initializing, add UI_popup_menu_end_or_cancel
which cancels empty popup menus.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
0 files changed, 0 insertions, 0 deletions