subsurface/mobile-widgets
Dirk Hohndel 98966fdd8a mobile/save-changes: untangle the handling of alreadySaving
I'm suspicious that an issue that some people have seen around changes
not being saved is caused by our handling of alreadySaving.
When starting with Subsurface-mobile in no-autosync mode, we were able
to end in a scenario where alreadySaving was true, even though there
were no unsaved changes. And in that case no changes made during such a
session were saved unless the user forced a manual sync with the server.

This commit radically changes our approach to handling the flag. It
moves it right next to the actual calls into code that could modify git
storage, and ensures that the flag can never stay set.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-03-28 11:00:09 -07:00
..
qml mobile UI: add create trip to DiveDetails context menu 2020-03-26 16:48:48 -07:00
CMakeLists.txt mobile-widgets: add themeInterface 2020-01-26 16:42:35 -08:00
qmlinterface.cpp mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlinterface.h mobile/summary: remove dive summary calculation 2020-02-08 10:29:36 -08:00
qmlmanager.cpp mobile/save-changes: untangle the handling of alreadySaving 2020-03-28 11:00:09 -07:00
qmlmanager.h mobile/save-changes: untangle the handling of alreadySaving 2020-03-28 11:00:09 -07:00
themeinterface.cpp mobile UI: stop the use of dark icon theme 2020-03-21 13:27:00 -07:00
themeinterface.h mobile UI: stop the use of dark icon theme 2020-03-21 13:27:00 -07:00