diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-23 20:58:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-23 21:02:08 +0300 |
commit | 34ebf6f82c4a375feb3c5260597042ff41adc7b5 (patch) | |
tree | d19e93daad6b4ab67e3c8a08e6544ab839e7340e /source/blender/editors/include | |
parent | 1de3ae7e427eace696b760fe6fa298157ee7c544 (diff) |
Workspaces: move delete to right click menu, instead of X on tab.
These are not intended to be closed as often as e.g. browser tabs, they are
intended to be more persistent and accidental closing should be avoided.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 5cc3e369439..c88470bd323 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1033,7 +1033,7 @@ void uiTemplateIDPreview( void uiTemplateIDTabs( uiLayout *layout, struct bContext *C, PointerRNA *ptr, const char *propname, - const char *newop, const char *openop, const char *unlinkop, + const char *newop, const char *openop, const char *menu, int filter); void uiTemplateAnyID( uiLayout *layout, struct PointerRNA *ptr, const char *propname, @@ -1221,6 +1221,7 @@ void UI_context_active_but_prop_get_filebrowser( void UI_context_active_but_prop_get_templateID( struct bContext *C, struct PointerRNA *r_ptr, struct PropertyRNA **r_prop); +struct ID *UI_context_active_but_get_tab_ID(struct bContext *C); uiBut *UI_region_active_but_get(struct ARegion *ar); |