forked from openlp/openlp
Fix shortcutlistform to pass all keyboard events to the keyReleaseEvent handler because on Mac OS X when the Command key is pressed together with another key a keyReleaseEvent isn't generated.
bzr-revno: 2178
This commit is contained in:
commit
7c05f002ba
@ -79,7 +79,7 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
|
|||||||
self.keyReleaseEvent(event)
|
self.keyReleaseEvent(event)
|
||||||
elif self.primaryPushButton.isChecked() or \
|
elif self.primaryPushButton.isChecked() or \
|
||||||
self.alternatePushButton.isChecked():
|
self.alternatePushButton.isChecked():
|
||||||
event.ignore()
|
self.keyReleaseEvent(event)
|
||||||
elif event.key() == QtCore.Qt.Key_Escape:
|
elif event.key() == QtCore.Qt.Key_Escape:
|
||||||
event.accept()
|
event.accept()
|
||||||
self.close()
|
self.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user