summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-12-11 14:02:33 -0600
committerSilarn <jrim@rimpo.org>2019-12-11 14:02:33 -0600
commit19bb86a870a88b65cce0eca2b6b71348d2769f51 (patch)
treebfa905db915061a3744d75af62e0120d68f242ac /src/organizercore.cpp
parent5a266b8e268163f3f25063aa823dd1fc72ee7c56 (diff)
Update installer status handling
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 55cb82ff..4ba38dbb 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -735,9 +735,12 @@ MOBase::IModInterface *OrganizerCore::installMod(const QString &fileName,
reportError(tr("mod not found: %1").arg(qUtf8Printable(modName)));
}
} else if (m_InstallationManager.wasCancelled()) {
- QMessageBox::information(qApp->activeWindow(), tr("Installation cancelled"),
- tr("The mod was not installed completely."),
+ QMessageBox::information(qApp->activeWindow(), tr("Extraction cancelled"),
+ tr("The installation was cancelled while extracting files. "
+ "If this was prior to a FOMOD setup, this warning may be ignored. "
+ "However, if this was during installation, the mod will likely be missing files."),
QMessageBox::Ok);
+ refreshModList();
}
return nullptr;
}
@@ -803,9 +806,12 @@ void OrganizerCore::installDownload(int index)
emit modInstalled(modName);
} else if (m_InstallationManager.wasCancelled()) {
- QMessageBox::information(
- qApp->activeWindow(), tr("Installation cancelled"),
- tr("The mod was not installed completely."), QMessageBox::Ok);
+ QMessageBox::information(qApp->activeWindow(), tr("Extraction cancelled"),
+ tr("The installation was cancelled while extracting files. "
+ "If this was prior to a FOMOD setup, this warning may be ignored. "
+ "However, if this was during installation, the mod will likely be missing files."),
+ QMessageBox::Ok);
+ refreshModList();
}
} catch (const std::exception &e) {
reportError(e.what());