Preferences/ShortcutsDialog.py

changeset 1521
1e684e74d2a1
parent 1509
c0b5e693b0eb
child 2223
054c285dab38
child 2303
0ed4ed026c16
diff -r 25d97c7ea897 -r 1e684e74d2a1 Preferences/ShortcutsDialog.py
--- a/Preferences/ShortcutsDialog.py	Sun Jan 01 16:45:41 2012 +0100
+++ b/Preferences/ShortcutsDialog.py	Sun Jan 01 17:14:12 2012 +0100
@@ -357,7 +357,7 @@
             for act in actions:
                 if txt == act.objectName():
                     act.setShortcut(QKeySequence(itm.text(1)))
-                    act.setAlternateShortcut(QKeySequence(itm.text(2)))
+                    act.setAlternateShortcut(QKeySequence(itm.text(2)), removeEmpty=True)
                     break
         
     def on_buttonBox_accepted(self):

eric ide

mercurial