mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-29 09:09:43 +02:00
Remove calls to setInputSpeed(), as it only needs to be called once
This commit is contained in:
parent
8452c037ac
commit
217a9b5cd6
@ -142,19 +142,16 @@ bool SettingsDialog::exec() {
|
||||
} else {
|
||||
sel -= 1;
|
||||
}
|
||||
gmenu2x->setInputSpeed();
|
||||
break;
|
||||
case InputManager::DOWN:
|
||||
sel += 1;
|
||||
if (sel>=voices.size()) sel = 0;
|
||||
gmenu2x->setInputSpeed();
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gmenu2x->setInputSpeed();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user