Cleanup: don't use single sets for comparisons

This commit is contained in:
Campbell Barton
2015-04-14 10:29:11 +10:00
parent 2bceb3ae18
commit af2f4724d5
19 changed files with 28 additions and 28 deletions

View File

@@ -104,7 +104,7 @@ class FILEBROWSER_UL_dir(bpy.types.UIList):
else:
row.prop(direntry, "name", text="", emboss=False, icon=icon)
elif self.layout_type in {'GRID'}:
elif self.layout_type == 'GRID':
layout.alignment = 'CENTER'
layout.prop(direntry, "path", text="")