From 5e4cb50da0d5533cc171d604fbe42571f6f944c0 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Fri, 4 Mar 2022 13:26:10 +0600 Subject: [PATCH] qt: Default to 0:0 if bus is full --- src/qt/qt_harddiskdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qt_harddiskdialog.cpp b/src/qt/qt_harddiskdialog.cpp index 3e933ddab..94731cca2 100644 --- a/src/qt/qt_harddiskdialog.cpp +++ b/src/qt/qt_harddiskdialog.cpp @@ -705,6 +705,7 @@ void HarddiskDialog::on_comboBoxBus_currentIndexChanged(int index) { break; } + if (chanIdx == 0xFF) chanIdx = 0; ui->comboBoxChannel->setCurrentIndex(chanIdx); }