From 7347252f0f7b79fdbcb253c64ae7430bff8b59aa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 12 Aug 2022 11:05:45 +1000 Subject: Cleanup: remove unnecessary icon assignment --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 44d82be8ab0..38522a1bf84 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -355,8 +355,7 @@ class GPENCIL_UL_annotation_layer(UIList): row = layout.row(align=True) - icon_xray = 'XRAY' if gpl.show_in_front else 'FACESEL' - row.prop(gpl, "show_in_front", text="", icon=icon_xray, emboss=False) + row.prop(gpl, "show_in_front", text="", icon='XRAY' if gpl.show_in_front else 'FACESEL', emboss=False) row.prop(gpl, "annotation_hide", text="", emboss=False) elif self.layout_type == 'GRID': -- cgit v1.2.3