diff options
| author | Tannin <devnull@localhost> | 2015-02-25 18:00:46 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-02-25 18:00:46 +0100 |
| commit | 6b4cb9ff4c7d5627a7b84c9969e5381063e60b93 (patch) | |
| tree | 55d03a75ddf804a84f231664576d4a9b3cd330d9 /src/mainwindow.cpp | |
| parent | cbe84327c685626cf816f956b5857557a5f3090e (diff) | |
bugfix: crash when trying to delete mods (issue #1016)
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
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 {
|
