diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-26 19:14:34 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-26 19:14:34 -0500 |
| commit | 2b2bb69351328a93a29ae084d6391ffa347be47f (patch) | |
| tree | 0c2d47a97cd58f0f1484ff253f7db640e16a0f5a /src | |
| parent | 2e86e36a8e7ddf015988a4250be489d6734dc584 (diff) | |
don't update mods after installing in offline mode
Diffstat (limited to 'src')
| -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 a270fd10..8d9857c1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5432,6 +5432,10 @@ void MainWindow::updateDownloadView() void MainWindow::modUpdateCheck(std::multimap<QString, int> IDs) { + if (m_OrganizerCore.settings().network().offlineMode()) { + return; + } + if (NexusInterface::instance().getAccessManager()->validated()) { ModInfo::manualUpdateCheck(this, IDs); } else { |
