Fix Toaster Position Setting.

This commit is contained in:
Phenom 2017-05-08 15:37:18 +02:00
parent add529ffd3
commit 594ab53ef2

View File

@ -355,7 +355,7 @@ void NotifyPage::load()
QMap<int, QString>::iterator it;
int index = 0;
for (it = toasterPositions.begin(); it != toasterPositions.end(); ++it, ++index) {
ui.comboBoxToasterPosition->addItem(it.value(), it.key());
whileBlocking(ui.comboBoxToasterPosition)->addItem(it.value(), it.key());
if (it.key() == toasterPosition) {
whileBlocking(ui.comboBoxToasterPosition)->setCurrentIndex(index);