summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a946bba4..282c9674 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2347,6 +2347,12 @@ void MainWindow::modInstalled(const QString &modName)
if (posList.count() == 1) {
ui->modList->scrollTo(posList.at(0));
}
+
+ // force an update to happen
+ std::multimap<QString, int> IDs;
+ ModInfo::Ptr info = ModInfo::getByIndex(ModInfo::getIndex(modName));
+ IDs.insert(std::make_pair<QString, int>(info->getGameName(), info->getNexusID()));
+ modUpdateCheck(IDs);
}
void MainWindow::procError(QProcess::ProcessError error)