diff -r 2bf828881e86 -r 1a6f8d9b63a5 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 @@ -34,7 +34,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): @@ -255,7 +255,8 @@ try: accel, altAccel = sdict[act.objectName()] act.setShortcut(QKeySequence(accel)) - act.setAlternateShortcut(QKeySequence(altAccel)) + act.setAlternateShortcut(QKeySequence(altAccel), + removeEmpty=True) except KeyError: pass