summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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) {