mirror of https://github.com/mgba-emu/mgba.git
Qt: Stop eating boolean action key events (fixes #2636)
This commit is contained in:
parent
d07dbdc0dd
commit
5b170b003a
1
CHANGES
1
CHANGES
|
@ -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:
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue