Fixed a few icons in user preferences Input tab

This commit is contained in:
2009-11-01 19:45:50 +00:00
parent 2cf22b53bc
commit a51fe76ff2

View File

@@ -508,13 +508,16 @@ class USERPREF_PT_input(bpy.types.Panel):
row = subcol.row()
if kmi.expanded:
row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_RIGHT")
row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_DOWN")
else:
row.itemR(kmi, "expanded", text="", icon="ICON_TRIA_RIGHT")
itemrow = row.row()
itemrow.enabled = km.user_defined
itemrow.itemR(kmi, "active", text="", icon="ICON_CHECKBOX_DEHLT")
if kmi.active:
itemrow.itemR(kmi, "active", text="", icon="ICON_CHECKBOX_HLT")
else:
itemrow.itemR(kmi, "active", text="", icon="ICON_CHECKBOX_DEHLT")
itemcol = itemrow.column()
itemcol.active = kmi.active