- bugfixes
This commit is contained in:
parent
92fae09672
commit
7e91a89caf
2 changed files with 8 additions and 2 deletions
|
@ -269,6 +269,7 @@ bool ScStwRace::playSoundsAndStartTimers() {
|
|||
}
|
||||
else {
|
||||
this->startDelayTimer->stop();
|
||||
this->startDelayTimer->setInterval(minimumReadyDelay);
|
||||
this->startDelayTimer->start();
|
||||
timerTriggered = true;
|
||||
}
|
||||
|
|
|
@ -280,11 +280,16 @@ QString ScStwTimer::getText() {
|
|||
}
|
||||
|
||||
void ScStwTimer::setDisabled(bool disabled) {
|
||||
if(this->isDisabled() == disabled)
|
||||
return;
|
||||
|
||||
if(disabled)
|
||||
this->setState(DISABLED);
|
||||
else {
|
||||
else
|
||||
this->setState(IDLE);
|
||||
}
|
||||
|
||||
emit this->readyStateChanged(this->getReadyState());
|
||||
|
||||
}
|
||||
|
||||
void ScStwTimer::setWantsToBeDisabled(bool wantsToBeDisabled) {
|
||||
|
|
Reference in a new issue