summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9b7def0f..d8d8533c 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2185,7 +2185,7 @@ void MainWindow::removeMod_clicked()
QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
// use mod names instead of indexes because those become invalid during the removal
foreach (QString name, modNames) {
- m_OrganizerCore.modList()->removeRowForce(ModInfo::getIndex(name));
+ m_OrganizerCore.modList()->removeRowForce(ModInfo::getIndex(name), QModelIndex());
}
}
} else {