From dc5f22d04705989b53adf4613aff9def766ab33e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 22 Oct 2019 16:49:14 -0400 Subject: Mobile: reset dive list after applying GPS fixes This way new fixes are actually shown when the user looks at the dive list after applying the GPS fixes. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index c338fa04c..63c071766 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -288,7 +288,10 @@ Kirigami.ApplicationWindow { } text: qsTr("Apply GPS fixes") onTriggered: { - manager.applyGpsData(); + manager.applyGpsData() + globalDrawer.close() + diveModel.resetInternalData() + manager.refreshDiveList() } } Kirigami.Action { -- cgit v1.2.3-70-g09d2