summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-10-28 16:15:27 +0100
committerAl12rs <gabriel.cortesi@outlook.com>2018-10-28 16:15:27 +0100
commit9e66799abf1e99cb507966e1780dd25fd7887df4 (patch)
treee725787a6a048daa2cc64a3bf130afdc3705050c /src/mainwindow.cpp
parentdce6507dad1ff7d76a5c0497d516c79bacd08477 (diff)
Fixed Separators not getting deleted while deleting multiple selected items.
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 438ba037..3b2dfbb2 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2367,7 +2367,7 @@ void MainWindow::removeMod_clicked()
continue;
}
mods += "<li>" + name + "</li>";
- modNames.append(name);
+ modNames.append(ModInfo::getByIndex(idx.data(Qt::UserRole + 1).toInt())->name());
}
if (QMessageBox::question(this, tr("Confirm"),
tr("Remove the following mods?<br><ul>%1</ul>").arg(mods),