mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-11 00:39:32 -04:00
Fix Toaster Position Setting.
This commit is contained in:
parent
add529ffd3
commit
594ab53ef2
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ void NotifyPage::load()
|
||||||
QMap<int, QString>::iterator it;
|
QMap<int, QString>::iterator it;
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (it = toasterPositions.begin(); it != toasterPositions.end(); ++it, ++index) {
|
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) {
|
if (it.key() == toasterPosition) {
|
||||||
whileBlocking(ui.comboBoxToasterPosition)->setCurrentIndex(index);
|
whileBlocking(ui.comboBoxToasterPosition)->setCurrentIndex(index);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue