forked from openlp/openlp
pass all keyboard events to shortcut dialog
This commit is contained in:
parent
0883eb8a5d
commit
2a262e4ef6
@ -74,7 +74,7 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
|
|||||||
if event.key() == QtCore.Qt.Key_Space:
|
if event.key() == QtCore.Qt.Key_Space:
|
||||||
self.keyReleaseEvent(event)
|
self.keyReleaseEvent(event)
|
||||||
elif self.primaryPushButton.isChecked() or self.alternatePushButton.isChecked():
|
elif self.primaryPushButton.isChecked() or 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