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