Commit 6dbb5e42 authored by Don Gagne's avatar Don Gagne

Merge pull request #1460 from DonLakeFlyer/AirframeConfig

Fix connected link check
parents aa4d098b 34ec7b08
......@@ -92,9 +92,7 @@ AirframeComponentController::~AirframeComponentController()
void AirframeComponentController::changeAutostart(void)
{
LinkManager* linkManager = LinkManager::instance();
if (linkManager->getLinks().count() > 1) {
if (UASManager::instance()->getUASList().count() > 1) {
QGCMessageBox::warning("Airframe Config", "You cannot change airframe configuration while connected to multiple vehicles.");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment