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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-05-06 11:59:37 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-05-06 11:59:37 +0400
commitb65cc42145f8f32b165fa46b799a6d7081c15957 (patch)
tree74aa3a1b82072cfb115f115cd81e2d9172a9fc3e
parentd2d272711dd795d502ff773de890d8bf3f715cfa (diff)
Fix for [#31327] Text editor menu incorrect (Patch attached)
Patch by Justin Dailey, thx!
-rw-r--r--release/scripts/startup/bl_ui/space_text.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index dd752431df9..d1daa4a5554 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -277,8 +277,10 @@ class TEXT_MT_edit(Menu):
layout.separator()
- layout.operator("text.move_lines_up")
- layout.operator("text.move_lines_down")
+ layout.operator("text.move_lines",
+ text="Move line(s) up").direction = 'UP'
+ layout.operator("text.move_lines",
+ text="Move line(s) down").direction = 'DOWN'
layout.separator()