mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05:00
add chatlobby splitter position saving
This commit is contained in:
parent
53186ee3ce
commit
03b5fb663e
@ -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…
x
Reference in New Issue
Block a user