mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
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:
parent
e5e5ab7480
commit
692719f230
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue