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:
Diffstat (limited to 'release/scripts/ui/space_text.py')
-rw-r--r--release/scripts/ui/space_text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/ui/space_text.py b/release/scripts/ui/space_text.py
index 5df937aacde..9ec723b51f1 100644
--- a/release/scripts/ui/space_text.py
+++ b/release/scripts/ui/space_text.py
@@ -78,6 +78,7 @@ class TEXT_PT_properties(bpy.types.Panel):
layout = self.layout
st = context.space_data
+ text = st.text
flow = layout.column_flow()
flow.prop(st, "line_numbers")
@@ -88,6 +89,7 @@ class TEXT_PT_properties(bpy.types.Panel):
flow = layout.column_flow()
flow.prop(st, "font_size")
flow.prop(st, "tab_width")
+ flow.prop(text, "tabs_as_spaces")
class TEXT_PT_find(bpy.types.Panel):