This commit is contained in:
bsongis
2015-06-29 23:18:26 +02:00
parent ff409321ff
commit 7800de54b0
+1 -1
View File
@@ -589,7 +589,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 (RawSource(SOURCE_TYPE_STICK,i).isPot()) {
if (RawSource(SOURCE_TYPE_STICK, NUM_STICKS+i).isPot()) {
if (!generalSettings.isPotAvailable(i)) {
cb->hide();
}