forked from openlp/openlp
pass all keyboard events to shortcut dialog
This commit is contained in:
parent
c40b116824
commit
1133f2e0c7
@ -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