Skip to content
Snippets Groups Projects
Commit ba31ed3f authored by DoinLakeFlyer's avatar DoinLakeFlyer
Browse files

Clear wizard mode when loading from file
parent ef759624
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ void TakeoffMissionItem::_init(void)
_initLaunchTakeoffAtSameLocation();
if (homePosition.isValid() && coordinate().isValid()) {
// Item already full specified, most likely from mission load from storage
// Item already fully specified, most likely from mission load from storage
_wizardMode = false;
} else {
if (_launchTakeoffAtSameLocation && homePosition.isValid()) {
......@@ -148,6 +148,7 @@ bool TakeoffMissionItem::load(const QJsonObject& json, int sequenceNumber, QStri
if (success) {
_initLaunchTakeoffAtSameLocation();
}
_wizardMode = false; // Should always be off for loaded items
return success;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment