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>
This commit is contained in:
@@ -138,7 +138,7 @@ Kirigami.ApplicationWindow {
|
||||
onTriggered: {
|
||||
globalDrawer.close()
|
||||
detailsWindow.endEditMode()
|
||||
manager.saveChanges();
|
||||
manager.saveChangesCloud();
|
||||
globalDrawer.close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user