mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
Fix Toaster Position Setting.
This commit is contained in:
parent
add529ffd3
commit
594ab53ef2
@ -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…
x
Reference in New Issue
Block a user