diff --git a/training.cpp b/training.cpp index 432ecc7..15cccb2 100644 --- a/training.cpp +++ b/training.cpp @@ -114,6 +114,7 @@ void Training::shellSlot(){ } if(zeit < this->minimumTime){ item->setBackgroundColor(Qt::red); + this->firstTimeShell = true; } item->setText(QString::number((double)zeit/1000)); ui->lWShellTime->addItem(item); @@ -160,6 +161,7 @@ void Training::deaSlot(){ } if(zeit < this->minimumTime){ item->setBackgroundColor(Qt::red); + this->firstTimeDea = true; } item->setText(QString::number((double)zeit/1000)); ui->lWDeaTime->addItem(item);