Qt: Stop eating boolean action key events (fixes #2636)

This commit is contained in:
Vicki Pfau 2023-01-29 01:42:37 -08:00
parent d07dbdc0dd
commit 5b170b003a
2 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,7 @@ Misc:
- GB Serialize: Add missing savestate support for MBC6 and NT (newer) - GB Serialize: Add missing savestate support for MBC6 and NT (newer)
- GBA: Improve detection of valid ELF ROMs - GBA: Improve detection of valid ELF ROMs
- Qt: Include wayland QPA in AppImage (fixes mgba.io/i/2796) - Qt: Include wayland QPA in AppImage (fixes mgba.io/i/2796)
- Qt: Stop eating boolean action key events (fixes mgba.io/i/2636)
0.10.1: (2023-01-10) 0.10.1: (2023-01-10)
Emulation fixes: Emulation fixes:

View File

@ -160,7 +160,6 @@ bool ShortcutController::eventFilter(QObject* obj, QEvent* event) {
Action::BooleanFunction fn = item.value()->action()->booleanAction(); Action::BooleanFunction fn = item.value()->action()->booleanAction();
fn(event->type() == QEvent::KeyPress); fn(event->type() == QEvent::KeyPress);
event->accept(); event->accept();
return true;
} }
} }
if (event->type() == GamepadButtonEvent::Down()) { if (event->type() == GamepadButtonEvent::Down()) {