diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 16:30:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-21 16:32:01 +0300 |
commit | 9a09246dc02df29302130fc902cc69f827c99311 (patch) | |
tree | 412c9af8fd6a74c8e3f6194a83abbeace3a1c2e4 /source/blender/editors/include | |
parent | 19dc7f7fdfc996f7cb68f3f5269c9ce7b839a005 (diff) |
WM: enable activate on init for wmOperatorType.prop
This enables popups to edit text when displayed,
use for new collection popup.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index bd08ed88603..d330014d277 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -839,6 +839,7 @@ uiBut *uiDefAutoButR(uiBlock *block, struct PointerRNA *ptr, struct PropertyRNA eAutoPropButsReturn uiDefAutoButsRNA( uiLayout *layout, struct PointerRNA *ptr, bool (*check_prop)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data), void *user_data, + struct PropertyRNA *prop_activate_init, eButLabelAlign label_align, const bool compact); /* use inside searchfunc to add items */ |