forked from openlp/openlp
fixed alternate shortcut
This commit is contained in:
parent
e3d822f07a
commit
958155e7d7
@ -186,7 +186,7 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
|
||||
shortcuts.append(action.shortcuts()[1])
|
||||
# We are changing the secondary shortcut.
|
||||
elif self.column == 2:
|
||||
if len(action.shortcuts()) == 1:
|
||||
if len(action.shortcuts()) != 0:
|
||||
shortcuts.append(action.shortcuts()[0])
|
||||
shortcuts.append(QtGui.QKeySequence(self.shortcutButton.text()))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user