diff -r 862a84b4f3e2 -r e38f749a6f28 Preferences/ShortcutsDialog.py --- a/Preferences/ShortcutsDialog.py Fri Dec 30 15:21:21 2011 +0100 +++ b/Preferences/ShortcutsDialog.py Sun Jan 01 17:16:40 2012 +0100 @@ -356,7 +356,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): @@ -453,4 +453,4 @@ @param checked state of the shortcuts radio button (boolean) """ if checked: - self.on_searchEdit_textChanged(self.searchEdit.text()) \ No newline at end of file + self.on_searchEdit_textChanged(self.searchEdit.text())