diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-10-31 01:20:08 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-10-31 01:21:34 +0300 |
commit | a287194bcee5e0b0ce86cadc3b7864bd2dc01674 (patch) | |
tree | e5047366c2685c39a5646368aadc102d598f4a82 /source/blender/editors | |
parent | e9980e5a75e160bb038456b8cb09804f19bea00c (diff) |
Fix Properties tabs all showing tooltip of active tab
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 4ed996f3afa..0ad7a18b5ac 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -4755,7 +4755,7 @@ void UI_but_string_info_get(bContext *C, uiBut *but, ...) /* enum property */ ptr = &but->rnapoin; prop = but->rnaprop; - value = (but->type == UI_BTYPE_ROW) ? (int)but->hardmax : (int)ui_but_value_get(but); + value = (ELEM(but->type, UI_BTYPE_ROW, UI_BTYPE_TAB)) ? (int)but->hardmax : (int)ui_but_value_get(but); } else if (but->optype) { PointerRNA *opptr = UI_but_operator_ptr_get(but); |