summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-11-08 13:30:59 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2020-11-08 13:30:59 +0100
commit10634245cedc758f80eafec16f839b6c2dec12ca (patch)
treec5ddab17b1d32e97274203f3295b88142385795a /src
parentffeae1a632e105244918dcdf9c47abddeeb1f3fa (diff)
Remember currently open tab in right panel.
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ea8a0efe..2548264e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2224,6 +2224,8 @@ void MainWindow::readSettings()
}
s.widgets().restoreIndex(ui->groupCombo);
+ s.widgets().restoreIndex(ui->tabWidget);
+
m_Filters->restoreState(s);
{
@@ -2299,6 +2301,7 @@ void MainWindow::storeSettings()
s.widgets().saveIndex(ui->groupCombo);
s.widgets().saveIndex(ui->executablesListBox);
+ s.widgets().saveIndex(ui->tabWidget);
m_Filters->saveState(s);
m_DataTab->saveState(s);