Cleanup: remove unnecessary icon assignment

This commit is contained in:
Campbell Barton 2022-08-12 11:05:45 +10:00
parent d99ec7ff9e
commit 7347252f0f
1 changed files with 1 additions and 2 deletions

View File

@ -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':