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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:31:50 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:31:50 +0400
commit8a1e41ca7d5b59f12711e19d2382c4f4448f7803 (patch)
treeba181d4c9feeef97b75c8f27d12876024adb3dbe /modules
parent857f14eff6971ea3db19cb99686354c9388430b9 (diff)
Systematically adding some custom id to template_list using default UI_UL_list class, this one is commoly used more than once in an area, yielding collision issues if they do not have a custom id...
Diffstat (limited to 'modules')
-rw-r--r--modules/extensions_framework/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extensions_framework/ui.py b/modules/extensions_framework/ui.py
index 2533a669..043b807b 100644
--- a/modules/extensions_framework/ui.py
+++ b/modules/extensions_framework/ui.py
@@ -295,7 +295,7 @@ class property_group_renderer(bpy.types.Panel):
)
elif current_property['type'] in ['template_list']:
- layout.template_list("UI_UL_list", "",
+ layout.template_list("UI_UL_list", current_property['src_attr'], # Use that as uid...
current_property['src'](supercontext, context),
current_property['src_attr'],
current_property['trg'](supercontext, context),