Update kbm_gui.cpp

This commit is contained in:
tlarok 2025-04-02 19:30:22 +02:00 committed by GitHub
parent 928e395e09
commit 814f1831cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -702,7 +702,7 @@ bool KBMSettings::eventFilter(QObject* obj, QEvent* event) {
if (timer && timer->isActive()) { if (timer && timer->isActive()) {
timer->stop(); timer->stop();
} }
switch (keyEvent->key()) { switch (keyEvent->key()) {
case Qt::Key_Space: case Qt::Key_Space:
keyText = "space"; keyText = "space";
@ -1093,7 +1093,7 @@ bool KBMSettings::eventFilter(QObject* obj, QEvent* event) {
timer->stop(); timer->stop();
MappingButton->setText(mapping); MappingButton->setText(mapping);
mappinglist.clear(); mappinglist.clear();
return true; return true;
} }
} }