From 156227d939948470476aa58957de5b0ab1fbe11d Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 12 Jan 2016 11:04:31 -0800 Subject: [PATCH] Fix signal order Previous order was signalling new mission items available prior to in progress going false. This was causing MissionController to pull an empty mission list. --- 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 3de74c53c..80907cf3f 100644 --- a/src/MissionManager/MissionManager.cc +++ b/src/MissionManager/MissionManager.cc @@ -182,8 +182,8 @@ void MissionManager::_readTransactionComplete(void) _vehicle->sendMessage(message); - emit newMissionItemsAvailable(); _finishTransaction(true); + emit newMissionItemsAvailable(); } void MissionManager::_handleMissionCount(const mavlink_message_t& message) -- 2.22.0