fix wrong time after measuringerror
This commit is contained in:
@@ -114,6 +114,7 @@ void Training::shellSlot(){
|
|||||||
}
|
}
|
||||||
if(zeit < this->minimumTime){
|
if(zeit < this->minimumTime){
|
||||||
item->setBackgroundColor(Qt::red);
|
item->setBackgroundColor(Qt::red);
|
||||||
|
this->firstTimeShell = true;
|
||||||
}
|
}
|
||||||
item->setText(QString::number((double)zeit/1000));
|
item->setText(QString::number((double)zeit/1000));
|
||||||
ui->lWShellTime->addItem(item);
|
ui->lWShellTime->addItem(item);
|
||||||
@@ -160,6 +161,7 @@ void Training::deaSlot(){
|
|||||||
}
|
}
|
||||||
if(zeit < this->minimumTime){
|
if(zeit < this->minimumTime){
|
||||||
item->setBackgroundColor(Qt::red);
|
item->setBackgroundColor(Qt::red);
|
||||||
|
this->firstTimeDea = true;
|
||||||
}
|
}
|
||||||
item->setText(QString::number((double)zeit/1000));
|
item->setText(QString::number((double)zeit/1000));
|
||||||
ui->lWDeaTime->addItem(item);
|
ui->lWDeaTime->addItem(item);
|
||||||
|
|||||||
Reference in New Issue
Block a user