mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
add chatlobby splitter position saving
This commit is contained in:
parent
53186ee3ce
commit
03b5fb663e
1 changed files with 2 additions and 2 deletions
|
@ -1171,7 +1171,7 @@ void ChatLobbyWidget::processSettings(bool bLoad)
|
|||
|
||||
if (bLoad) {
|
||||
// load settings
|
||||
|
||||
ui.splitter->restoreState(Settings->value("splitter").toByteArray());
|
||||
// state of the lists
|
||||
Header->restoreState(Settings->value("lobbyList").toByteArray());
|
||||
|
||||
|
@ -1180,7 +1180,7 @@ void ChatLobbyWidget::processSettings(bool bLoad)
|
|||
setShowSubscribeColumn(Settings->value("showSubscribeColumn", !ui.lobbyTreeWidget->isColumnHidden(COLUMN_SUBSCRIBED)).toBool());
|
||||
} else {
|
||||
// save settings
|
||||
|
||||
Settings->setValue("splitter", ui.splitter->saveState());
|
||||
// state of the lists
|
||||
Settings->setValue("lobbyList", Header->saveState());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue