qt: Don't release keys during auto-repeat, closes #2712

This commit is contained in:
RichardG867
2023-07-15 21:20:09 -03:00
parent b1027c7c5c
commit c1452654b0

View File

@@ -1299,7 +1299,7 @@ MainWindow::keyReleaseEvent(QKeyEvent *event)
fs_on_signal = false;
}
if (!send_keyboard_input)
if (!send_keyboard_input || event->isAutoRepeat())
return;
#ifdef Q_OS_MACOS