Update kbm_gui.cpp

This commit is contained in:
tlarok 2025-04-13 16:17:41 +02:00 committed by GitHub
parent 0455afbe44
commit 87e87102ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -657,7 +657,7 @@ void KBMSettings::CheckMapping(QPushButton*& button) {
MappingTimer -= 1;
button->setText(tr("Press a key") + " [" + QString::number(MappingTimer) + "]");
if (pressedNonInt.size() + pressedNonInt.size() > 0) {
if (pressedNonInt.size() > 0) {
QStringList keyStrings;
for (const QString& buttonAction : pressedNonInt) {