summaryrefslogtreecommitdiff
path: root/src/modinfodialog.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-07-03 21:29:22 -0500
committerSilarn <jrim@rimpo.org>2019-07-03 21:29:22 -0500
commitccc0653ca1a406e6994a17c1f6a01b2b6224c86e (patch)
tree89d0588b6ec6f2fe9ff067eeada922e26bffe9fc /src/modinfodialog.cpp
parent3a2f056e8adf07f31ea1f6b2856a6d57da1f4777 (diff)
parentdfd34bf9c0ad055e76c1b6f272c21eb0d79536ce (diff)
Merge branch 'Develop' into qt-5.13
Diffstat (limited to 'src/modinfodialog.cpp')
-rw-r--r--src/modinfodialog.cpp6
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;