diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 00:01:07 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-08-26 00:01:07 -0400 |
| commit | b1687380c5c10342699f95361e30f18a32bad585 (patch) | |
| tree | c13ef89a1d6ec2704f37a7bf16e026e55a089497 /src/settingsdialog.cpp | |
| parent | 4f1b15f0a1b2e6cbca4b420608d81570af489067 (diff) | |
moved more nexus stuff to settings
settings tab remembered
Diffstat (limited to 'src/settingsdialog.cpp')
| -rw-r--r-- | src/settingsdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index 9d031785..a24416e9 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -51,8 +51,12 @@ int SettingsDialog::exec() { GeometrySaver gs(m_settings, this); + m_settings.restoreIndex(ui->tabWidget); + auto ret = TutorableDialog::exec(); + m_settings.saveIndex(ui->tabWidget); + if (ret == QDialog::Accepted) { for (auto&& tab : m_tabs) { tab->closing(); |
