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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-22 16:49:14 -04:00
parent e03d3ac5d6
commit dc5f22d047

View file

@ -288,7 +288,10 @@ Kirigami.ApplicationWindow {
}
text: qsTr("Apply GPS fixes")
onTriggered: {
manager.applyGpsData();
manager.applyGpsData()
globalDrawer.close()
diveModel.resetInternalData()
manager.refreshDiveList()
}
}
Kirigami.Action {