diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 14:59:07 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 14:59:07 -0600 |
| commit | 7fd81029ce2f67aa7a6555858dfed7d6ac58c4e3 (patch) | |
| tree | 7cfca3567dbd02aee370ffa68e1cff28f4b37b1c /src/mainwindow.cpp | |
| parent | a40613f885c18a8a9f090cd88c595bcb960d97c9 (diff) | |
Reduce file I/O operations when enabling/disabling multiple mods
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index df78df82..a9dd3e51 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2509,6 +2509,12 @@ void MainWindow::modlistChanged(const QModelIndex&, int) updateModCount();
}
+void MainWindow::modlistChanged(const QModelIndexList&, int)
+{
+ m_OrganizerCore.currentProfile()->writeModlist();
+ updateModCount();
+}
+
void MainWindow::modlistSelectionChanged(const QModelIndex ¤t, const QModelIndex&)
{
if (current.isValid()) {
|
