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:
authorCampbell Barton <ideasman42@gmail.com>2019-10-22 18:34:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-22 18:34:30 +0300
commitac18c3c28dee2f6a57be8620c7e9dbf2751a21f0 (patch)
tree27b4eedb67741a33106d7210e6e6a382db5f4347 /release/scripts/startup/bl_ui/space_text.py
parentf8e8f4ee0f8ad5384e6d4ee7c98e93852e100608 (diff)
Cleanup: unused variables, enums, spelling
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r--release/scripts/startup/bl_ui/space_text.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index e82c6bc5dc7..9e9ddcf3505 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -193,11 +193,9 @@ class TEXT_PT_find(Panel):
class TEXT_MT_view_navigation(Menu):
bl_label = "Navigation"
- def draw(self, context):
+ def draw(self, _context):
layout = self.layout
- st = context.space_data
-
layout.operator("text.move", text="Top").type = 'FILE_TOP'
layout.operator("text.move", text="Bottom").type = 'FILE_BOTTOM'
@@ -384,9 +382,8 @@ class TEXT_MT_edit(Menu):
def poll(cls, context):
return context.space_data.text is not None
- def draw(self, context):
+ def draw(self, _context):
layout = self.layout
- st = context.space_data
layout.operator("ed.undo")
layout.operator("ed.redo")