Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/templates_py/ui_list.py')
-rw-r--r--release/scripts/templates_py/ui_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/ui_list.py b/release/scripts/templates_py/ui_list.py
index f6b82356a78..9727a1b3678 100644
--- a/release/scripts/templates_py/ui_list.py
+++ b/release/scripts/templates_py/ui_list.py
@@ -18,7 +18,7 @@ class MESH_UL_mylist(bpy.types.UIList):
if self.layout_type in {'DEFAULT', 'COMPACT'}:
pass
# 'GRID' layout type should be as compact as possible (typically a single icon!).
- elif self.layout_type in {'GRID'}:
+ elif self.layout_type == 'GRID':
pass
# Called once to draw filtering/reordering options.