Rename Label instead of Name in Node editor using F2 key
authorCampbell Barton <ideasman42@gmail.com>
Fri, 12 Apr 2019 11:50:33 +0000 (13:50 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 12 Apr 2019 11:50:33 +0000 (13:50 +0200)
Previously reverted change without RNA changes.

release/scripts/startup/bl_ui/space_topbar.py

index 7b9b324..25c715e 100644 (file)
@@ -1084,11 +1084,11 @@ class TOPBAR_PT_name(Panel):
                 row.prop(item, "name", text="")
                 found = True
         elif space_type == 'NODE_EDITOR':
-            layout.label(text="Node Name")
+            layout.label(text="Node Label")
             item = context.active_node
             if item:
                 row = row_with_icon(layout, 'NODE')
-                row.prop(item, "name", text="")
+                row.prop(item, "label", text="")
                 found = True
         else:
             if mode == 'POSE' or (mode == 'WEIGHT_PAINT' and context.pose_object):