forked from openlp/openlp
fixed bug (thanks to our tests)
This commit is contained in:
parent
b57db1a21f
commit
d916bad0c8
@ -330,6 +330,7 @@ class ActionList(object):
|
||||
else:
|
||||
log.warn(u'Shortcut "%s" is removed from "%s" because another action already uses this shortcut.' %
|
||||
(shortcuts[0], action.objectName()))
|
||||
shortcuts.remove(shortcuts[0])
|
||||
action.setShortcuts([QtGui.QKeySequence(shortcut) for shortcut in shortcuts])
|
||||
|
||||
def remove_action(self, action, category=None):
|
||||
|
Loading…
Reference in New Issue
Block a user