Commit 42c65be7 authored by DonLakeFlyer's avatar DonLakeFlyer

If vehicle updates home position don't mark plan dirty

parent 2f6e34b4
......@@ -1499,10 +1499,9 @@ void MissionController::_managerVehicleHomePositionChanged(const QGeoCoordinate&
} else {
qWarning() << "First item is not MissionSettingsItem";
}
if (_visualItems->count() == 1) {
// Don't let this trip the dirty bit
_visualItems->setDirty(false);
}
// Don't let this trip the dirty bit. Otherwise plan will keep getting marked dirty if vehicle home
// changes.
_visualItems->setDirty(false);
}
}
......
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