diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-22 21:57:02 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 11:38:26 -0700 |
commit | bf6a644fc63a0eb9ae74ce55d31777ae7290056b (patch) | |
tree | 1033ee2f1a13e57de4675b8e376ccd20483e2546 /mobile-widgets/qml/main.qml | |
parent | 4c55074bd771240848967a183a3681bfc8e14b8c (diff) | |
download | subsurface-bf6a644fc63a0eb9ae74ce55d31777ae7290056b.tar.gz |
Mobile: provide better tracking of applied GPS fixes
Also reset the page stack to make sure we don't end up with stale data.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 63c071766..cd8635b63 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -292,6 +292,10 @@ Kirigami.ApplicationWindow { globalDrawer.close() diveModel.resetInternalData() manager.refreshDiveList() + while (pageStack.depth > 1) { + pageStack.pop() + } + pageStack.push(diveList) } } Kirigami.Action { |