mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Added to store last used group filter
This commit is contained in:
parent
4a20e1b4d2
commit
3a07a268ca
1 changed files with 7 additions and 1 deletions
|
@ -154,9 +154,16 @@ void WireDialog::processSettings(bool load)
|
|||
|
||||
// state of splitter
|
||||
ui.splitter->restoreState(Settings->value("SplitterWire").toByteArray());
|
||||
|
||||
// state of filter combobox
|
||||
int index = Settings->value("ShowGroup", 0).toInt();
|
||||
ui.comboBox_groupSet->setCurrentIndex(index);
|
||||
} else {
|
||||
// save settings
|
||||
|
||||
// state of filter combobox
|
||||
Settings->setValue("ShowGroup", ui.comboBox_groupSet->currentIndex());
|
||||
|
||||
// state of splitter
|
||||
Settings->setValue("SplitterWire", ui.splitter->saveState());
|
||||
}
|
||||
|
@ -1064,4 +1071,3 @@ void WireDialog::postGroupsPulses(std::list<RsWirePulseSPtr> pulses)
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue