Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-08-28 16:17:58 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-08-28 16:17:58 +0300
commit2e9a0e1254657e704beb1e856fbed8b89e512476 (patch)
tree90d7528efb5c0438e3915f2bbbad5ec2277b7097 /release/scripts/startup/bl_ui/space_text.py
parent44df1ced6dd1dd12fbbeab0050b19d7f119b3e78 (diff)
Fix space text script - keyboard for labels
I guess multi-line ui elements were not covered in the cleanup scripts.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r--release/scripts/startup/bl_ui/space_text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index 8e370326d8c..9ef165a36a6 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -60,17 +60,17 @@ class TEXT_HT_header(Header):
if text.filepath:
if text.is_dirty:
row.label(
- iface_(f"File: *{text.filepath:s} (unsaved)"),
+ text=iface_(f"File: *{text.filepath:s} (unsaved)"),
translate=False,
)
else:
row.label(
- iface_(f"File: {text.filepath:s}"),
+ text=iface_(f"File: {text.filepath:s}"),
translate=False,
)
else:
row.label(
- "Text: External"
+ text="Text: External"
if text.library
else "Text: Internal"
)