Return to driver view from mission select
This commit is contained in:
parent
f191946a90
commit
61656942f9
|
@ -38,7 +38,11 @@ void MissionSelectPresenter::nextScreen() {
|
|||
FrontendApplication *app =
|
||||
static_cast<FrontendApplication *>(FrontendApplication::getInstance());
|
||||
if (app->getBackToMissionSelect()) {
|
||||
app->gotoAMIScreenNoTransition();
|
||||
if (vehicle_state.active_mission == MISSION_MANUAL) {
|
||||
app->gotoDriverViewScreenNoTransition();
|
||||
} else {
|
||||
app->gotoAMIScreenNoTransition();
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue