QML UI: only force network access when user asks us to

So when the user taps on the manual cloud sync, we always force access to
the cloud server. Otherwise we only access the cloud server if
git_local_only isn't set.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-08 12:35:45 -07:00
parent 685d31cd4f
commit 4ed369b975
3 changed files with 14 additions and 7 deletions

View file

@ -138,7 +138,7 @@ Kirigami.ApplicationWindow {
onTriggered: {
globalDrawer.close()
detailsWindow.endEditMode()
manager.saveChangesCloud();
manager.saveChangesCloud(true);
globalDrawer.close()
}
}