From e9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 28 Aug 2018 12:34:51 +1000 Subject: UI: text keyword argument to label Prepare for keyword only args --- release/scripts/startup/bl_ui/space_statusbar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_statusbar.py') 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() -- cgit v1.2.3