diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_mask_common.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py index 203e5078ee4..fb7a3d8b303 100644 --- a/release/scripts/startup/bl_ui/properties_mask_common.py +++ b/release/scripts/startup/bl_ui/properties_mask_common.py @@ -31,7 +31,7 @@ class MASK_UL_layers(UIList): # assert(isinstance(item, bpy.types.MaskLayer) mask = item if self.layout_type in {'DEFAULT', 'COMPACT'}: - layout.label(text=mask.name, translate=False, icon_value=icon) + layout.prop(mask, "name", text="", emboss=False, icon_value=icon) row = layout.row(align=True) row.prop(mask, "hide", text="", emboss=False) row.prop(mask, "hide_select", text="", emboss=False) @@ -99,8 +99,6 @@ class MASK_PT_layers: sub.operator("mask.layer_move", icon='TRIA_UP', text="").direction = 'UP' sub.operator("mask.layer_move", icon='TRIA_DOWN', text="").direction = 'DOWN' - layout.prop(active_layer, "name") - # blending row = layout.row(align=True) row.prop(active_layer, "alpha") |