diff -r 8cfe4af1af36 -r a60d2ee42402 Preferences/Shortcuts.py --- a/Preferences/Shortcuts.py Tue Jun 17 21:09:24 2014 +0200 +++ b/Preferences/Shortcuts.py Thu Jun 19 10:00:53 2014 +0200 @@ -32,7 +32,7 @@ accel = prefClass.settings.value( "Shortcuts/{0}/{1}/AltAccel".format(category, act.objectName())) if accel is not None: - act.setAlternateShortcut(QKeySequence(accel)) + act.setAlternateShortcut(QKeySequence(accel), removeEmpty=True) def readShortcuts(prefClass=Prefs, helpViewer=None, pluginName=None): @@ -253,7 +253,8 @@ try: accel, altAccel = sdict[act.objectName()] act.setShortcut(QKeySequence(accel)) - act.setAlternateShortcut(QKeySequence(altAccel)) + act.setAlternateShortcut(QKeySequence(altAccel), + removeEmpty=True) except KeyError: pass