Fix uiList labels themed colors.

r57760 broke usual labels, and r59511 broke again uiList labels! :P Hopefully every one works as expected now!
This commit is contained in:
2013-08-26 12:32:46 +00:00
parent 4b40ac92f1
commit a26c048fde

View File

@@ -2980,7 +2980,9 @@ static uiWidgetType *widget_type(uiWidgetTypeEnum type)
case UI_WTYPE_LISTLABEL:
wt.wcol_theme = &btheme->tui.wcol_list_item;
/* fall-through */ /* we use usual label code too. */
wt.draw = NULL;
/* Can't use usual label code. */
break;
case UI_WTYPE_LABEL:
wt.draw = NULL;
wt.state = widget_state_label;