Fix wrong list of preferences in Slot5.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2020-07-06 20:30:37 +01:00
parent 7204abce03
commit ac6bc48f60

View file

@ -220,7 +220,7 @@ void Preferences::setData(const PreferenceData & data)
const int slot4Index = getIndexInList(cardsInSlot4, data.cardInSlot4, 0);
ui->slot4_combo->setCurrentIndex(slot4Index);
const int slot5Index = getIndexInList(cardsInSlot4, data.cardInSlot5, 0);
const int slot5Index = getIndexInList(cardsInSlot5, data.cardInSlot5, 0);
ui->slot5_combo->setCurrentIndex(slot5Index);
ui->hd_7->setChecked(data.hdInSlot7);