Fix for [#31327] Text editor menu incorrect (Patch attached)
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 6 May 2012 07:59:37 +0000 (07:59 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 6 May 2012 07:59:37 +0000 (07:59 +0000)
Patch by Justin Dailey, thx!

release/scripts/startup/bl_ui/space_text.py

index dd752431df9efceca4f125b78b9978449e0bb028..d1daa4a55549ef5e370af54a3592c6115f748d9d 100644 (file)
@@ -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()