Commit bc7a05bb authored by Don Gagne's avatar Don Gagne

Merge pull request #927 from DonLakeFlyer/VehicleConfigFix

Vehicle Config buttons not enabled correctly
parents 19436d9d c0d88e79
...@@ -271,7 +271,7 @@ void QGCPX4VehicleConfig::setActiveUAS(UASInterface* active) ...@@ -271,7 +271,7 @@ void QGCPX4VehicleConfig::setActiveUAS(UASInterface* active)
// Since a system is now connected, enable the VehicleConfig UI. // Since a system is now connected, enable the VehicleConfig UI.
// Enable buttons // Enable buttons
bool px4Firmware = mav->getAutopilotType() == MAV_AUTOPILOT_PIXHAWK; bool px4Firmware = mav->getAutopilotType() == MAV_AUTOPILOT_PX4;
ui->airframeMenuButton->setEnabled(px4Firmware); ui->airframeMenuButton->setEnabled(px4Firmware);
ui->sensorMenuButton->setEnabled(px4Firmware); ui->sensorMenuButton->setEnabled(px4Firmware);
ui->rcMenuButton->setEnabled(px4Firmware); ui->rcMenuButton->setEnabled(px4Firmware);
......
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