QML UI: fix map display regression

In commit 6540e95425 ("dive details navigation") the change to access the gps
variable was only partially implemented.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-21 12:22:15 -08:00
parent f84e823879
commit eef5bf75c3

View file

@ -47,8 +47,8 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
if (gps !== "")
manager.showMap(gps)
if (dive.gps !== "")
manager.showMap(dive.gps)
}
}
}