Ports Settings: Reset c to 0 before adding LPT devices.
This commit is contained in:
@@ -122,6 +122,8 @@ SettingsPorts::onCurrentMachineChanged(int machineId)
|
|||||||
else
|
else
|
||||||
ui->comboBoxLptECPDMA->setEnabled(true);
|
ui->comboBoxLptECPDMA->setEnabled(true);
|
||||||
|
|
||||||
|
c = 0;
|
||||||
|
|
||||||
// LPT Device
|
// LPT Device
|
||||||
QComboBox * cbox[PARALLEL_MAX] = { 0 };
|
QComboBox * cbox[PARALLEL_MAX] = { 0 };
|
||||||
QAbstractItemModel *models[PARALLEL_MAX] = { 0 };
|
QAbstractItemModel *models[PARALLEL_MAX] = { 0 };
|
||||||
|
|||||||
Reference in New Issue
Block a user