From bf6a644fc63a0eb9ae74ce55d31777ae7290056b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 22 Oct 2019 21:57:02 -0400 Subject: 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 --- mobile-widgets/qml/main.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets/qml/main.qml') 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 { -- cgit v1.2.3-70-g09d2