fix [#36065] UI labels are shown in the theme color for unselected list items
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user