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 {
|
} 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user