Skip to content

Commit

Permalink
Home Position reset while in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DonLakeFlyer committed Jul 24, 2017
1 parent 69ef783 commit 2d1f2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MissionManager/MissionController.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ void MissionController::_initAllVisualItems(void)
_settingsItem->setIsCurrentItem(true);
}

if (!_editMode && _managerVehicle->homePosition().isValid()) {
if (_managerVehicle->homePosition().isValid()) {
_settingsItem->setCoordinate(_managerVehicle->homePosition());
}

Expand Down

0 comments on commit 2d1f2d1

Please sign in to comment.