Fixed a duplicate keyboard shortcut assignment.

Mon, 21 Nov 2011 20:06:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 21 Nov 2011 20:06:36 +0100
changeset 1464
e4ec683781e4
parent 1463
f7a5eeb5a442
child 1465
3b459b88fcd4
child 1466
21da0cbc3be5

Fixed a duplicate keyboard shortcut assignment.

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
default_Mac.e4k file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Mon Nov 21 19:38:42 2011 +0100
+++ b/ViewManager/ViewManager.py	Mon Nov 21 20:06:36 2011 +0100
@@ -1219,10 +1219,7 @@
                       QApplication.translate('ViewManager', 'Move right one word'),
                       0, 0,
                       self.editorActGrp, 'vm_edit_move_right_word')
-        if isMacPlatform():
-            act.setShortcut(QKeySequence(
-                QApplication.translate('ViewManager', 'Alt+Right')))
-        else:
+        if not isMacPlatform():
             act.setShortcut(QKeySequence(
                 QApplication.translate('ViewManager', 'Ctrl+Right')))
         self.esm.setMapping(act, QsciScintilla.SCI_WORDRIGHT)
--- a/default_Mac.e4k	Mon Nov 21 19:38:42 2011 +0100
+++ b/default_Mac.e4k	Mon Nov 21 20:06:36 2011 +0100
@@ -886,7 +886,7 @@
   </Shortcut>
   <Shortcut category="Edit">
     <Name>vm_edit_move_right_word</Name>
-    <Accel>Alt+Right</Accel>
+    <Accel></Accel>
     <AltAccel></AltAccel>
   </Shortcut>
   <Shortcut category="Edit">

eric ide

mercurial