From 692719f230842b247dad9704e1d2e77d2f724305 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 12 Feb 2016 22:14:17 -0800 Subject: QML UI: when saving edits, really only save them locally This should have been obvious. Without explicitly asking for only local git activity, it will connect to the remote. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-mobile/qmlmanager.cpp') 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; } -- cgit v1.2.3-70-g09d2