diff --git a/scripts/startup/bl_ui/properties_data_bone.py b/scripts/startup/bl_ui/properties_data_bone.py index 2a98a2ec629..ae1642ff538 100644 --- a/scripts/startup/bl_ui/properties_data_bone.py +++ b/scripts/startup/bl_ui/properties_data_bone.py @@ -324,7 +324,9 @@ class BONE_PT_display(BoneButtonsPanel, Panel): col = layout.column() col.prop(bone, "hide", text="Hide", toggle=False) - col.prop(bone, "hide_select", invert_checkbox=True) + hide_select_sub = col.column() + hide_select_sub.active = not bone.hide + hide_select_sub.prop(bone, "hide_select", invert_checkbox=True) # Figure out the pose bone. ob = context.object @@ -354,7 +356,9 @@ class BONE_PT_display(BoneButtonsPanel, Panel): col = layout.column() col.prop(bone, "hide", text="Hide", toggle=False) - col.prop(bone, "hide_select", invert_checkbox=True) + hide_select_sub = col.column() + hide_select_sub.active = not bone.hide + hide_select_sub.prop(bone, "hide_select", invert_checkbox=True) layout.prop(bone.color, "palette", text="Bone Color") self.draw_bone_color_ui(layout, bone.color)