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/settings.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 7047fa44..27c02ede 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -2238,6 +2238,16 @@ void InterfaceSettings::setSaveFilters(bool b) set(m_Settings, "Settings", "save_filters", b); } +bool InterfaceSettings::checkUpdateAfterInstallation() const +{ + return get(m_Settings, "Settings", "autocheck_update_install", true); +} + +void InterfaceSettings::setCheckUpdateAfterInstallation(bool b) +{ + set(m_Settings, "Settings", "autocheck_update_install", b); +} + bool InterfaceSettings::compactDownloads() const { return get(m_Settings, "Settings", "compact_downloads", false); -- cgit v1.3.1