diff options
Diffstat (limited to 'src')
| -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; |
