summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:35:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:37:17 -0700
commit4ed369b9759d2a720cffcba3062d50713233150d (patch)
treea696f62bdd963462652486f7f9d3d43c6f03b2bc /mobile-widgets/qml
parent685d31cd4fda38c5d7c410356bbb2398d6dc2867 (diff)
downloadsubsurface-4ed369b9759d2a720cffcba3062d50713233150d.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index cf67d2d5d..4f75f2d7f 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -138,7 +138,7 @@ Kirigami.ApplicationWindow {
onTriggered: {
globalDrawer.close()
detailsWindow.endEditMode()
- manager.saveChangesCloud();
+ manager.saveChangesCloud(true);
globalDrawer.close()
}
}