diff --git a/src/MissionManager/MissionManager.cc b/src/MissionManager/MissionManager.cc index 472dd453fc89ba7b771716bcc0a74ab96daa6af4..c41aed3455c2833eac0c88474e2015aa1aa94285 100644 --- a/src/MissionManager/MissionManager.cc +++ b/src/MissionManager/MissionManager.cc @@ -164,6 +164,7 @@ void MissionManager::requestMissionItems(void) } _retryCount = 0; + _readTransactionInProgress = true; emit inProgressChanged(true); _requestList(); } @@ -177,7 +178,6 @@ void MissionManager::_requestList(void) mavlink_mission_request_list_t request; _itemIndicesToRead.clear(); - _readTransactionInProgress = true; _clearMissionItems(); request.target_system = _vehicle->id();