diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-10 12:00:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-10 12:00:00 +0400 |
commit | f47fe89b1909af2c952dcc42e8295d939c02cba1 (patch) | |
tree | 51bc93d1ae7438d32938b8d247daefac2ef21129 /source/blender/editors | |
parent | 0cc9b45294fb43b2e6337574f35d44d00e17347f (diff) |
fix [#36065] UI labels are shown in the theme color for unselected list items
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 910d284e86b..f45bd1c3463 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -2660,6 +2660,8 @@ void uiTemplateList(uiLayout *layout, bContext *C, const char *listtype_name, co if (i == activei) { ui_layout_list_set_labels_active(sub); } + + uiBlockClearFlag(subblock, UI_BLOCK_LIST_ITEM); } i++; } @@ -2747,6 +2749,8 @@ void uiTemplateList(uiLayout *layout, bContext *C, const char *listtype_name, co ui_layout_list_set_labels_active(sub); } + uiBlockClearFlag(subblock, UI_BLOCK_LIST_ITEM); + i++; } RNA_PROP_END; |