From a974c09888888bbfd8e1a4f4a0b8a713271771c2 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 7 Jan 2018 09:38:12 -0800 Subject: [PATCH] Clear cursor before disconnectAll Since disconnectAll will kill this controller before it gets to next statement --- src/AutoPilotPlugins/PX4/AirframeComponentController.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/PX4/AirframeComponentController.cc b/src/AutoPilotPlugins/PX4/AirframeComponentController.cc index 122a39ff7..c5bc7ef2d 100644 --- a/src/AutoPilotPlugins/PX4/AirframeComponentController.cc +++ b/src/AutoPilotPlugins/PX4/AirframeComponentController.cc @@ -125,8 +125,8 @@ void AirframeComponentController::_rebootAfterStackUnwind(void) QGC::SLEEP::usleep(500); qgcApp()->processEvents(QEventLoop::ExcludeUserInputEvents); } - qgcApp()->toolbox()->linkManager()->disconnectAll(); qgcApp()->restoreOverrideCursor(); + qgcApp()->toolbox()->linkManager()->disconnectAll(); } AirframeType::AirframeType(const QString& name, const QString& imageResource, QObject* parent) : -- 2.22.0