summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:47:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:47:12 -0700
commit9f7e509f9afe57f81adda9649dc4f57a27faf5c7 (patch)
treee41e44d1cf9b1b8fa7a4aac8bafae9ef7c686938 /mobile-widgets/qml
parent3bafc2a4e6c0e7c34f941332e15677c35be3297c (diff)
downloadsubsurface-9f7e509f9afe57f81adda9649dc4f57a27faf5c7.tar.gz
QML UI: break the sync into explicit save local and save cloud
This makes the code much cleaner and easier to understand and should allow us to then switch back to doing at least the local save right after we make any changes to the data. This commit also tries to make sure that the accessingCloud status stays correct and consistent throughout all the various success and error paths. 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 34d99376d..4cc03849b 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.saveChanges();
+ manager.saveChangesCloud();
globalDrawer.close()
}
}