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/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")