Merge pull request #807 from PhenomRetroShare/Fix_ToasterPositionSetting

Fix Toaster Position Setting.
This commit is contained in:
csoler 2017-05-08 22:17:09 +02:00 committed by GitHub
commit caa36b4623

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);