From 704490e3157dbb9916fc3fb42b5503462a482f06 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 17 Jan 2021 13:00:01 +0100 Subject: Add setting to not check for updates after installing mods. --- src/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainwindow.cpp') 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) { -- cgit v1.3.1