diff --git a/src/qt/qt_settingsports.cpp b/src/qt/qt_settingsports.cpp index 6b260e4fb..d072a4642 100644 --- a/src/qt/qt_settingsports.cpp +++ b/src/qt/qt_settingsports.cpp @@ -122,6 +122,8 @@ SettingsPorts::onCurrentMachineChanged(int machineId) else ui->comboBoxLptECPDMA->setEnabled(true); + c = 0; + // LPT Device QComboBox * cbox[PARALLEL_MAX] = { 0 }; QAbstractItemModel *models[PARALLEL_MAX] = { 0 };