diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-27 20:30:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-28 11:42:58 +0300 |
commit | a14005c070a1f3b7a1ed2013c61a359e816734fa (patch) | |
tree | 749c42f9758f916de83fc94313fe9c49c06b2731 /source/blender/editors/interface/interface_intern.h | |
parent | a593cc046c330ca07401cf04569a13b6864e670a (diff) |
UI: fix popover menus not refreshing when changing settings.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 8353a17a359..6082b3ab7b0 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -519,16 +519,19 @@ struct uiKeyNavLock { }; typedef uiBlock * (*uiBlockHandleCreateFunc)(struct bContext *C, struct uiPopupBlockHandle *handle, void *arg1); +typedef void (*uiBlockHandleFreeFunc)(struct uiPopupBlockHandle *handle, void *arg1); struct uiPopupBlockCreate { - uiBlockCreateFunc create_func; + uiBlockCreateFunc create_func; uiBlockHandleCreateFunc handle_create_func; + uiBlockHandleFreeFunc free_func; void *arg; int event_xy[2]; /* when popup is initialized from a button */ ARegion *butregion; + uiBut *but; }; struct uiPopupBlockHandle { |