Fix for [#31327] Text editor menu incorrect (Patch attached)
[blender.git] / 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()