diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-21 12:22:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-21 12:23:07 -0800 |
commit | eef5bf75c36ed40cf1d9920556e9fb04a5d611c3 (patch) | |
tree | b9f1240299766a16505d00eafd1ce698a6323be6 /qt-mobile | |
parent | f84e8238796bd98e0acfd07183dae30b940c15fd (diff) | |
download | subsurface-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.qml | 4 |
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) } } } |