summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-12-28 03:12:15 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-12-28 03:12:15 -0500
commit1be20063595206d42ec95a5028b8ecf8f7567476 (patch)
tree4049f5dda7b2624cc0f0365797b7ff9c5c8c8c80 /src/organizercore.cpp
parent51db1f99f0c4cddc0af224d46d6e5679d18d2a53 (diff)
offline mode:
- don't try to login on startup - don't try to update loot when sorting and display a warning that the master list might be stale
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 631e49be..569faccb 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1430,7 +1430,7 @@ void OrganizerCore::loggedInAction(QWidget* parent, std::function<void ()> f)
{
if (NexusInterface::instance().getAccessManager()->validated()) {
f();
- } else {
+ } else if (!m_Settings.network().offlineMode()) {
QString apiKey;
if (GlobalSettings::nexusApiKey(apiKey)) {
doAfterLogin([f]{ f(); });