Rename Label instead of Name in Node editor using F2 key

Previously reverted change without RNA changes.
This commit is contained in:
Campbell Barton 2019-04-12 13:50:33 +02:00
parent f3c313e779
commit a96d42b2e8
1 changed files with 2 additions and 2 deletions

View 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):