1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-29 11:40:37 +02:00

Remove calls to setInputSpeed(), as it only needs to be called once

This commit is contained in:
Paul Cercueil 2013-09-26 18:59:22 -03:00
parent 8452c037ac
commit 217a9b5cd6

View File

@ -142,19 +142,16 @@ bool SettingsDialog::exec() {
} else { } else {
sel -= 1; sel -= 1;
} }
gmenu2x->setInputSpeed();
break; break;
case InputManager::DOWN: case InputManager::DOWN:
sel += 1; sel += 1;
if (sel>=voices.size()) sel = 0; if (sel>=voices.size()) sel = 0;
gmenu2x->setInputSpeed();
default: default:
break; break;
} }
} }
} }
gmenu2x->setInputSpeed();
return true; return true;
} }