summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
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 &current, const QModelIndex&)
{
if (current.isValid()) {