mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 00:17:55 -05:00
yuzu: Call ignore event after ensuring it's initialized
This commit is contained in:
@ -305,10 +305,10 @@ void ConfigureRingController::mousePressEvent(QMouseEvent* event) {
|
||||
}
|
||||
|
||||
void ConfigureRingController::keyPressEvent(QKeyEvent* event) {
|
||||
event->ignore();
|
||||
if (!input_setter || !event) {
|
||||
return;
|
||||
}
|
||||
event->ignore();
|
||||
if (event->key() != Qt::Key_Escape) {
|
||||
input_subsystem->GetKeyboard()->PressKey(event->key());
|
||||
}
|
||||
|
Reference in New Issue
Block a user