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/startup/bl_ui/space_statusbar.py | |
parent | 60b24f2415233d6dd6feb0c463de59570d7835ff (diff) |
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/startup/bl_ui/space_statusbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_statusbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_statusbar.py b/release/scripts/startup/bl_ui/space_statusbar.py index dbcfbf165ce..2cc5bd94bd7 100644 --- a/release/scripts/startup/bl_ui/space_statusbar.py +++ b/release/scripts/startup/bl_ui/space_statusbar.py @@ -37,7 +37,7 @@ class STATUSBAR_HT_header(Header): row = layout.row(align=True) if bpy.app.autoexec_fail is True and bpy.app.autoexec_fail_quiet is False: - row.label("Auto-run disabled", icon='ERROR') + row.label(text="Auto-run disabled", icon='ERROR') if bpy.data.is_saved: props = row.operator("wm.revert_mainfile", icon='SCREEN_BACK', text="Reload Trusted") props.use_scripts = True @@ -45,7 +45,7 @@ class STATUSBAR_HT_header(Header): row.operator("script.autoexec_warn_clear", text="Ignore") # include last so text doesn't push buttons out of the header - row.label(bpy.app.autoexec_fail_message) + row.label(text=bpy.app.autoexec_fail_message) layout.template_running_jobs() |