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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-12 22:14:17 -08:00
parent e5e5ab7480
commit 692719f230

View file

@ -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;
}