summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qmlmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 1539c569c..a772e0926 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -573,8 +573,10 @@ QString QMLManager::commitChanges(QString diveId, QString date, QString location
// stored - so we need to store this to the local cache
qDebug() << "save dives to local cache";
prefs.cloud_background_sync = false;
+ prefs.git_local_only = true;
saveChanges();
prefs.cloud_background_sync = true;
+ prefs.git_local_only = false;
}
return notes;
}