From 63f07b89570dcbddffacc64be49b237c26015252 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 20 Dec 2021 01:38:58 +0600 Subject: [PATCH] * Fix another show-stopper bug where the cards wouldn't show their true selections when Other Peripherals settings page was opened --- src/qt/qt_settingsotherperipherals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_settingsotherperipherals.cpp b/src/qt/qt_settingsotherperipherals.cpp index 729ebe62e..834c6bdad 100644 --- a/src/qt/qt_settingsotherperipherals.cpp +++ b/src/qt/qt_settingsotherperipherals.cpp @@ -49,7 +49,7 @@ SettingsOtherPeripherals::SettingsOtherPeripherals(QWidget *parent) : } int row = Models::AddEntry(model, name, d); - if (d == isartc_type) { + if (d == isamem_type[c]) { selectedRow = row; } ++d;