summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-28 14:25:47 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:15 +0100
commit9db6a9d7931edbb08e74cd1e110794f47d46df3e (patch)
treee060bb6ed23a12796ed5c883661aad2501cb56e4 /src/mainwindow.cpp
parent4636d7bd5d092ff47146248232cd73c8d0254d7a (diff)
Save collapse state of separator.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index df571a2d..65ab368d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2103,6 +2103,7 @@ void MainWindow::readSettings()
s.widgets().restoreIndex(ui->groupCombo);
s.widgets().restoreIndex(ui->tabWidget);
+ s.widgets().restoreTreeState(ui->modList);
m_Filters->restoreState(s);
@@ -2177,6 +2178,7 @@ void MainWindow::storeSettings()
s.geometry().saveState(ui->downloadView->header());
s.geometry().saveState(ui->modList->header());
+ s.widgets().saveTreeState(ui->modList);
s.widgets().saveIndex(ui->groupCombo);
s.widgets().saveIndex(ui->executablesListBox);
s.widgets().saveIndex(ui->tabWidget);