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/properties_texture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_ui/properties_texture.py') diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index ae42e3f1d08..93ba6fce2cd 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -907,7 +907,7 @@ class TEXTURE_PT_colors_ramp(TextureButtonsPanel, TextureColorsPoll, Panel): layout.template_color_ramp(tex, "color_ramp", expand=True) else: layout.alignment = 'RIGHT' - layout.label("Please enable the Color Ramp first") + layout.label(text="Please enable the Color Ramp first") class TEXTURE_PT_custom_props(TextureButtonsPanel, PropertyPanel, Panel): -- cgit v1.2.3