fix: clear fields added with last commits; fix: changed wrong time reference for top lap
This commit is contained in:
10
training.cpp
10
training.cpp
@@ -75,6 +75,11 @@ void Training::ResetShell() {
|
||||
this->ui->lBestZeitShell->setText("∞");
|
||||
this->ui->lCurRoundTimeShell->setText("∞");
|
||||
this->firstTimeShell = true;
|
||||
|
||||
this->ui->lBridgeShellTop->setText("∞");
|
||||
this->ui->lStraightShellTop->setText("∞");
|
||||
this->ui->lCurvesShellTop->setText("∞");
|
||||
this->ui->lDeltaTopTimeShell->setText("∞");
|
||||
}
|
||||
void Training::ResetDea() {
|
||||
this->VecDea.clear();
|
||||
@@ -87,6 +92,11 @@ void Training::ResetDea() {
|
||||
|
||||
this->ui->lCurRoundDea->setText("∞");
|
||||
this->firstTimeDea = true;
|
||||
|
||||
this->ui->lBridgeDeaTop->setText("∞");
|
||||
this->ui->lStraightDeaTop->setText("∞");
|
||||
this->ui->lCurvesDeaTop->setText("∞");
|
||||
this->ui->lDeltaTopTimeDea->setText("∞");
|
||||
}
|
||||
void Training::Reset() {
|
||||
this->ResetDea();
|
||||
|
||||
Reference in New Issue
Block a user