diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-08 10:37:46 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-12-08 10:44:46 -0600 |
| commit | c501b5cca081e1b3697904a3b4e1e236ea9c4e69 (patch) | |
| tree | 01e2f84719dac045e5ebb57b6081ad9e6eeda5ce /src/mainwindow.cpp | |
| parent | c87d97de8c4e15c91f17ab35173ec6f22e80c8e5 (diff) | |
Add notes column to mod list
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 84b77945..9a40ce2e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -299,6 +299,7 @@ MainWindow::MainWindow(QSettings &initSettings ui->modList->header()->setSectionHidden(ModList::COL_MODID, true);
ui->modList->header()->setSectionHidden(ModList::COL_GAME, true);
ui->modList->header()->setSectionHidden(ModList::COL_INSTALLTIME, true);
+ ui->modList->header()->setSectionHidden(ModList::COL_NOTES, true);
}
ui->modList->header()->setSectionHidden(ModList::COL_NAME, false); // prevent the name-column from being hidden
@@ -1726,6 +1727,9 @@ void MainWindow::processUpdates() { lastHidden = hidden;
}
}
+ if (lastVersion < QVersionNumber(2,1,6)) {
+ ui->modList->header()->setSectionHidden(ModList::COL_NOTES, true);
+ }
}
if (currentVersion > lastVersion)
|
