diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-03 19:09:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-03 19:09:54 -0400 |
| commit | 0e617f5a3a91a35d866cd280ed67f0efcd27df75 (patch) | |
| tree | b309028ea441abcb157470644c2258a78b31d132 /src/modinfodialog.cpp | |
| parent | 431b35dcf8f6abf89470a29a4b634f1b5864be28 (diff) | |
| parent | 5a0b6a7cf65a9f3a88f05b5985ee134ee88b2b7f (diff) | |
Merge pull request #788 from isanae/Develop
fixed tab order not being saved
Diffstat (limited to 'src/modinfodialog.cpp')
| -rw-r--r-- | src/modinfodialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modinfodialog.cpp b/src/modinfodialog.cpp index 16690019..47ac84be 100644 --- a/src/modinfodialog.cpp +++ b/src/modinfodialog.cpp @@ -353,7 +353,11 @@ void ModInfoDialog::setTabsVisibility(bool firstTime) // save the current order (if necessary) because some tabs will be removed and // others added - saveTabOrder(Settings::instance()); + if (!firstTime) { + // but don't do it the first time visibility is set because the tabs are + // in the default order, which will clobber the current settings + saveTabOrder(Settings::instance()); + } // remember selection, if any auto sel = ModInfoTabIDs::None; |
