Reset "StartupSystem" to "" if the requested system doesn't exist

This commit is contained in:
Tomas Jakobsson 2018-09-20 18:49:07 +02:00
parent 811e2cefdc
commit 3f9ffaa33d

View file

@ -56,6 +56,9 @@ void ViewController::goToStart()
return;
}
}
// Requested system doesn't exist
Settings::getInstance()->setString("StartupSystem", "");
}
goToSystemView(SystemData::sSystemVector.at(0));
}