Pot startup check checkboxes were always hidden

This commit is contained in:
Andre Bernet
2014-06-07 17:08:30 +02:00
parent 9e7a52b952
commit 8f3060f99c
+1 -1
View File
@@ -466,7 +466,7 @@ SetupPanel::SetupPanel(QWidget *parent, ModelData & model, GeneralSettings & gen
ui->potWarningLayout->addWidget(cb, 0, i+1);
connect(cb, SIGNAL(toggled(bool)), this, SLOT(potWarningToggled(bool)));
potWarningCheckboxes << cb;
if (!IS_TARANIS_PLUS(firmware->getBoard())) {
if (!IS_TARANIS_PLUS(firmware->getBoard()) && i==2) {
cb->hide();
}
}