diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
commit | e9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (patch) | |
tree | 1b41a7ae2d7c197276e78471a5206946a3d50ea8 /release/scripts/templates_py/custom_nodes.py | |
parent | 60b24f2415233d6dd6feb0c463de59570d7835ff (diff) |
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/templates_py/custom_nodes.py')
-rw-r--r-- | release/scripts/templates_py/custom_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/custom_nodes.py b/release/scripts/templates_py/custom_nodes.py index 7e4e89dafeb..a2701360c9b 100644 --- a/release/scripts/templates_py/custom_nodes.py +++ b/release/scripts/templates_py/custom_nodes.py @@ -103,7 +103,7 @@ class MyCustomNode(Node, MyCustomTreeNode): # Additional buttons displayed on the node. def draw_buttons(self, context, layout): - layout.label("Node settings") + layout.label(text="Node settings") layout.prop(self, "my_float_prop") # Detail buttons in the sidebar. |