pass all keyboard events to shortcut dialog

This commit is contained in:
Jonathan Springer 2013-12-08 21:05:52 -05:00
parent 0883eb8a5d
commit 2a262e4ef6

View File

@ -74,7 +74,7 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
if event.key() == QtCore.Qt.Key_Space:
self.keyReleaseEvent(event)
elif self.primaryPushButton.isChecked() or self.alternatePushButton.isChecked():
event.ignore()
self.keyReleaseEvent(event)
elif event.key() == QtCore.Qt.Key_Escape:
event.accept()
self.close()