aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-21 12:22:15 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-21 12:23:07 -0800
commiteef5bf75c36ed40cf1d9920556e9fb04a5d611c3 (patch)
treeb9f1240299766a16505d00eafd1ce698a6323be6 /qt-mobile
parentf84e8238796bd98e0acfd07183dae30b940c15fd (diff)
downloadsubsurface-eef5bf75c36ed40cf1d9920556e9fb04a5d611c3.tar.gz
QML UI: fix map display regression
In commit 6540e95425eb ("dive details navigation") the change to access the gps variable was only partially implemented. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/DiveDetailsView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveDetailsView.qml b/qt-mobile/qml/DiveDetailsView.qml
index 3023330d9..8265a621a 100644
--- a/qt-mobile/qml/DiveDetailsView.qml
+++ b/qt-mobile/qml/DiveDetailsView.qml
@@ -47,8 +47,8 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
- if (gps !== "")
- manager.showMap(gps)
+ if (dive.gps !== "")
+ manager.showMap(dive.gps)
}
}
}