small fix
This commit is contained in:
@@ -239,7 +239,6 @@ void WindowRace::setDriverAndCarId(vector<QString> vec){
|
||||
}
|
||||
void WindowRace::closeEvent(QCloseEvent *event){
|
||||
countdown->setStop();
|
||||
this->Hardware->setStop();
|
||||
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText("Wirklich schliessen?");
|
||||
@@ -254,6 +253,7 @@ void WindowRace::closeEvent(QCloseEvent *event){
|
||||
break;
|
||||
case QMessageBox::Yes:
|
||||
this->wRennliste->schliessen();
|
||||
this->Hardware->setStop();
|
||||
event->accept();
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user