From 1e0e17b55c1800dcbab81628330d5369489768eb Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 3 Dec 2016 18:11:13 -0800 Subject: [PATCH] Fix flag --- src/MissionManager/MissionManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MissionManager/MissionManager.cc b/src/MissionManager/MissionManager.cc index 472dd453f..c41aed345 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(); -- 2.22.0