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 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),