remove ICON prefix from the enum, for python this is redundant eg.
layout.prop("setting", icon='ICON_BLAH_BLAH')
Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
This commit is contained in:
@@ -43,7 +43,7 @@ class BONE_PT_context_bone(BoneButtonsPanel):
|
||||
bone = context.edit_bone
|
||||
|
||||
row = layout.row()
|
||||
row.label(text="", icon='ICON_BONE_DATA')
|
||||
row.label(text="", icon='BONE_DATA')
|
||||
row.prop(bone, "name", text="")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user