diff --git a/companion/src/modeledit/setup.cpp b/companion/src/modeledit/setup.cpp index 0483b81d7..6fe0e9873 100644 --- a/companion/src/modeledit/setup.cpp +++ b/companion/src/modeledit/setup.cpp @@ -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(); }