added if for security
This commit is contained in:
+6
-1
@@ -134,7 +134,12 @@ void WindowRace::ReturnPress(){
|
||||
//cout << "Return pressed" << endl;
|
||||
if(this->ui->pBNextRace->isEnabled()){
|
||||
this->prepareNextRace();
|
||||
this->wRennliste->changeSelection();
|
||||
if(this->wRennlisteSeted){
|
||||
this->wRennliste->changeSelection();
|
||||
}
|
||||
else{
|
||||
cout << "Problem with racelist" << endl;
|
||||
}
|
||||
}
|
||||
else{
|
||||
if(started){
|
||||
|
||||
Reference in New Issue
Block a user