mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 20:07:07 +02:00
Merge pull request #13032 from druiz17/fix-spamming-reset-sensors
don't spam resetSensors function when holding down Qt::Key_Apostrophe
This commit is contained in:
commit
6ac43c34c2
1 changed files with 1 additions and 1 deletions
|
@ -3634,7 +3634,7 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
} else {
|
||||
showCursor(Cursor::Icon::DEFAULT);
|
||||
}
|
||||
} else {
|
||||
} else if (!event->isAutoRepeat()){
|
||||
resetSensors(true);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue