diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-08 22:28:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-11 11:40:12 -0700 |
commit | 49f566d6d8fdbf6d731138e5110746b92d55f2e8 (patch) | |
tree | 88c0df0b530c6f42d4095930c701818367d58d75 /tests/testgitstorage.cpp | |
parent | fe9c3d4c956d679e48dbcaebc90af12446da80cb (diff) | |
download | subsurface-49f566d6d8fdbf6d731138e5110746b92d55f2e8.tar.gz |
main.qml: handle mapPage in pageStack.onCurrentItemChanged()
When the slot pageStack.onCurrentItemChanged() is reached
make sure that the stackView becomes non-interactive.
This prevents swiping left on the map to "go back".
Also, always reload the map markers when the map becomes visible.
This is not optimal and instead something in the lines of:
DiveList.model.onChanged()
is a much better solution.
Ideally the map reload should happen on dive removal, dive addition,
dive edits and sync from cloud.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'tests/testgitstorage.cpp')
0 files changed, 0 insertions, 0 deletions