Commit c930c7ee authored by DonLakeFlyer's avatar DonLakeFlyer

Clear dirty when removeAll is offline

parent dd1ea23a
......@@ -416,6 +416,11 @@ void PlanMasterController::removeAll(void)
_missionController.removeAll();
_geoFenceController.removeAll();
_rallyPointController.removeAll();
if (_offline) {
_missionController.setDirty(false);
_geoFenceController.setDirty(false);
_rallyPointController.setDirty(false);
}
}
void PlanMasterController::removeAllFromVehicle(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment