mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
save chosen ID in posted
This commit is contained in:
parent
4199b1a02f
commit
acd61fd531
2 changed files with 11 additions and 10 deletions
|
@ -112,20 +112,11 @@ void PostedCreatePostDialog::processSettings(bool load)
|
|||
Settings->beginGroup(QString("PostedCreatePostDialog"));
|
||||
|
||||
if (load) {
|
||||
// load settings
|
||||
|
||||
// state of ID Chooser combobox
|
||||
int index = Settings->value("IDChooser", 0).toInt();
|
||||
ui->idChooser->setCurrentIndex(index);
|
||||
|
||||
// load last used Stacked Page
|
||||
setPage(Settings->value("viewPage", VIEW_POST).toInt());
|
||||
} else {
|
||||
// save settings
|
||||
|
||||
// state of ID Chooser combobox
|
||||
Settings->setValue("IDChooser", ui->idChooser->currentIndex());
|
||||
|
||||
// store last used Page
|
||||
Settings->setValue("viewPage", viewMode());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue