mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
3bafc2a4e6
commit
9f7e509f9a
3 changed files with 58 additions and 32 deletions
|
@ -138,7 +138,7 @@ Kirigami.ApplicationWindow {
|
|||
onTriggered: {
|
||||
globalDrawer.close()
|
||||
detailsWindow.endEditMode()
|
||||
manager.saveChanges();
|
||||
manager.saveChangesCloud();
|
||||
globalDrawer.close()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue