diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-14 05:42:08 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-14 09:43:33 -0700 |
commit | 287823626823ad139986685f1a310fe2539aeac0 (patch) | |
tree | 8eeff4ac1d62f054139ccacefe74cdca573bb731 /mobile-widgets | |
parent | c84f16e7f68df2227cec202feb8948eb75ac6613 (diff) | |
download | subsurface-287823626823ad139986685f1a310fe2539aeac0.tar.gz |
QML UI: clear the flag indicating that we are accessing storage
If the automatic sync is turned off we could be stuck in a state where we
always thought that we were already in the middle of a save.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index f1f942f78..569f1ac80 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -148,6 +148,7 @@ void QMLManager::openLocalThenRemote(QString url) set_filename(fileNamePrt.data(), true); if (prefs.git_local_only) { appendTextToLog(QStringLiteral("have cloud credentials, but user asked not to connect to network")); + alreadySaving = false; } else { appendTextToLog(QStringLiteral("have cloud credentials, trying to connect")); tryRetrieveDataFromBackend(); |