openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #22324
[Merge] lp:~springermac/openlp/shortcut-event-fix into lp:openlp
Jonathan Springer has proposed merging lp:~springermac/openlp/shortcut-event-fix into lp:openlp.
Requested reviews:
Raoul Snyman (raoul-snyman)
For more details, see:
https://code.launchpad.net/~springermac/openlp/shortcut-event-fix/+merge/198243
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.
--
https://code.launchpad.net/~springermac/openlp/shortcut-event-fix/+merge/198243
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/ui/shortcutlistform.py'
--- openlp/core/ui/shortcutlistform.py 2013-10-13 20:36:42 +0000
+++ openlp/core/ui/shortcutlistform.py 2013-12-09 12:28:12 +0000
@@ -74,7 +74,7 @@
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()
Follow ups