diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-15 04:58:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-15 13:22:16 -0700 |
commit | 00ac1c12db347d7a63c4c44a62f41b373cb84706 (patch) | |
tree | 7accda4f901724992646bfbe4f5a5047c7fe4cb0 /marbledata | |
parent | 6985c123d412d3223618247e2fcc733cd99bb842 (diff) | |
download | subsurface-00ac1c12db347d7a63c4c44a62f41b373cb84706.tar.gz |
QML UI: fix the save to cloud logic
There were several logical flaws here. Ugh.
Don't save things if there are no unsaved changes, if we haven't
initialized this repository from the cloud or if we are already saving
things.
Then, once we decide that we should save, first always save to the local
cache and then check if we should save to the cloud and do so if
requested.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'marbledata')
0 files changed, 0 insertions, 0 deletions