UI: text keyword argument to label

Prepare for keyword only args
This commit is contained in:
Campbell Barton
2018-08-28 12:34:51 +10:00
parent 60b24f2415
commit e9fb2feb2e
39 changed files with 187 additions and 187 deletions

View File

@@ -427,7 +427,7 @@ class NODE_PT_active_node_properties(Panel):
value_inputs = [socket for socket in node.inputs if socket.enabled and not socket.is_linked]
if value_inputs:
layout.separator()
layout.label("Inputs:")
layout.label(text="Inputs:")
for socket in value_inputs:
row = layout.row()
socket.draw(context, row, node, iface_(socket.name, socket.bl_rna.translation_context))