summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 809da989..b4f709d3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2431,7 +2431,8 @@ IModInterface *MainWindow::getMod(const QString &name)
IModInterface *MainWindow::createMod(GuessedValue<QString> &name)
{
- if (!m_InstallationManager.testOverwrite(name)) {
+ bool merge = false;
+ if (!m_InstallationManager.testOverwrite(name, &merge)) {
return NULL;
}