mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
c84f16e7f6
commit
2878236268
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ void QMLManager::openLocalThenRemote(QString url)
|
||||||
set_filename(fileNamePrt.data(), true);
|
set_filename(fileNamePrt.data(), true);
|
||||||
if (prefs.git_local_only) {
|
if (prefs.git_local_only) {
|
||||||
appendTextToLog(QStringLiteral("have cloud credentials, but user asked not to connect to network"));
|
appendTextToLog(QStringLiteral("have cloud credentials, but user asked not to connect to network"));
|
||||||
|
alreadySaving = false;
|
||||||
} else {
|
} else {
|
||||||
appendTextToLog(QStringLiteral("have cloud credentials, trying to connect"));
|
appendTextToLog(QStringLiteral("have cloud credentials, trying to connect"));
|
||||||
tryRetrieveDataFromBackend();
|
tryRetrieveDataFromBackend();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue