Add ctrl-click rename to most lists in Blender UI and templates/examples.
[blender.git] / release / scripts / startup / bl_ui / properties_physics_dynamicpaint.py
index f0c7a532414665adc6111add32f19c340607e40c..898e385ce3db86f2c5d1dd440df6da26fcebec00 100644 (file)
@@ -33,7 +33,7 @@ class PHYSICS_UL_dynapaint_surfaces(UIList):
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
             row = layout.row(align=True)
             row.label(text="", icon_value=icon)
-            row.label(text=surf.name, translate=False, icon_value=sticon)
+            row.prop(surf, "name", text="", emboss=False, icon_value=sticon)
             row = layout.row(align=True)
             if surf.use_color_preview:
                 row.prop(surf, "show_preview", text="", emboss=False,