Hide S3 center beep checkbox for !Plus

This commit is contained in:
Andre Bernet
2014-06-07 17:13:27 +02:00
parent 8f3060f99c
commit e0deb3b665
+3
View File
@@ -418,6 +418,9 @@ SetupPanel::SetupPanel(QWidget *parent, ModelData & model, GeneralSettings & gen
ui->centerBeepLayout->addWidget(checkbox, 0, i+1);
connect(checkbox, SIGNAL(toggled(bool)), this, SLOT(onBeepCenterToggled(bool)));
centerBeepCheckboxes << checkbox;
if (!IS_TARANIS_PLUS(firmware->getBoard()) && i==6) {
checkbox->hide();
}
}
// Startup switches warnings