diff --git a/ScStwLibraries/sources/scstwrace.cpp b/ScStwLibraries/sources/scstwrace.cpp index 2d91318..1c6d548 100644 --- a/ScStwLibraries/sources/scstwrace.cpp +++ b/ScStwLibraries/sources/scstwrace.cpp @@ -114,6 +114,11 @@ ScStw::StatusCode ScStwRace::reset() { qDebug() << "[INFO][RACE] resetting race"; + if(this->competitionMode) { + for(int i = 0; i < this->timers.length(); i++) + this->setTimerDisabled(i, false); + } + ScStw::StatusCode returnCode = ScStw::Success; foreach(ScStwTimer *timer, this->timers){ @@ -186,6 +191,8 @@ ScStw::StatusCode ScStwRace::setTimerDisabled(ScStwTimer* timer, bool disabled) timer->setDisabled(disabled); + emit this->timersChanged(); + return ScStw::Success; }