subsurface/mobile-widgets
Lubomir I. Ivanov 49f566d6d8 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>
2018-03-11 11:40:12 -07:00
..
qml main.qml: handle mapPage in pageStack.onCurrentItemChanged() 2018-03-11 11:40:12 -07:00
qmlmanager.cpp mobile: introduce simple private helper updateAllGlobalLists() 2018-01-31 14:48:14 +01:00
qmlmanager.h mobile: introduce simple private helper updateAllGlobalLists() 2018-01-31 14:48:14 +01:00
qmlprofile.cpp QML UI: adjust to modified logging API 2017-06-11 13:55:41 -07:00
qmlprofile.h Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00