summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-17 13:00:01 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-17 13:00:01 +0100
commit704490e3157dbb9916fc3fb42b5503462a482f06 (patch)
treeee5e4fd41dcb5efa2379e3203401a2e7186d74d7 /src/mainwindow.cpp
parent2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (diff)
Add setting to not check for updates after installing mods.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9c049efa..a2b12686 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2191,6 +2191,10 @@ void MainWindow::directory_refreshed()
void MainWindow::modInstalled(const QString &modName)
{
+ if (!m_OrganizerCore.settings().interface().checkUpdateAfterInstallation()) {
+ return;
+ }
+
unsigned int index = ModInfo::getIndex(modName);
if (index == UINT_MAX) {