Add ctrl-click rename to most lists in Blender UI and templates/examples.
[blender.git] / release / scripts / startup / bl_ui / space_node.py
index 46234b638ebc1bd554effc5c3aaa03b9115f1ad7..9750d7bac0d32a3ded7f5133400919a4adb298ab 100644 (file)
@@ -410,7 +410,7 @@ class NODE_UL_interface_sockets(bpy.types.UIList):
             if not socket.is_output:
                 row.template_node_socket(color)
 
-            row.label(text=socket.name, icon_value=icon)
+            row.prop(socket, "name", text="", emboss=False, icon_value=icon)
 
             # outputs get icon on the right
             if socket.is_output: