diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-01-18 08:21:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 08:21:41 +0100 |
| commit | 59f055ba93381b965cdc04557ac1dce2df36bd07 (patch) | |
| tree | da831741fc6100921fe47ad2f20ab4f8b5605ef2 /src/mainwindow.cpp | |
| parent | 2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (diff) | |
| parent | 1644d30e59e03b90a8a392ff54cdec527d4a85a5 (diff) | |
Merge pull request #1368 from Holt59/new-settings
Add settings to not check update on mod install and to auto-collapse on hover.
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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) { |
