pass all keyboard events to shortcut dialog

This commit is contained in:
Jonathan Springer 2013-12-09 07:24:21 -05:00
parent c40b116824
commit 1133f2e0c7

View File

@ -79,7 +79,7 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
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()