diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-03 15:23:20 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-04 12:00:25 -0700 |
commit | e43362fdcfb60d5f5b714ec473a193f6b5aa5fe5 (patch) | |
tree | 8015658790b9b5f53261fcd1ab368fd8720cb137 /mobile-widgets/qmlmanager.cpp | |
parent | 35080aad98698b6de5f1810a421514648ec6db65 (diff) | |
download | subsurface-e43362fdcfb60d5f5b714ec473a193f6b5aa5fe5.tar.gz |
mobile/download-from-DC: ensure that changes get actually saved
Calling saveChangesLocal() seems like the right thing to do, but it
doesn't do anything useful if the dive list hasn't been marked as
changed. The correct helper function to call is changesNeedSaving()
which makes sure we save the changes and update all UI information.
[Berthold: since this removes the last QML caller of saveChangesLocal()
we can make that function private.]
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
0 files changed, 0 insertions, 0 deletions