forked from bartvdbraak/blender
fix [#36065] UI labels are shown in the theme color for unselected list items
This commit is contained in:
parent
0cc9b45294
commit
f47fe89b19
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user