Browse Source

Clear cursor before disconnectAll

Since disconnectAll will kill this controller before it gets to next
statement
QGC4.4
DonLakeFlyer 7 years ago committed by Lorenz Meier
parent
commit
a974c09888
  1. 2
      src/AutoPilotPlugins/PX4/AirframeComponentController.cc

2
src/AutoPilotPlugins/PX4/AirframeComponentController.cc

@ -125,8 +125,8 @@ void AirframeComponentController::_rebootAfterStackUnwind(void) @@ -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) :

Loading…
Cancel
Save