summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-22 16:30:17 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-26 11:38:26 -0700
commit320d2c47aab4bada071c665509f5eba499ed5780 (patch)
tree74856a32a52be67929dd5cf0a3cab2e8d9a2a4b2 /mobile-widgets/qml
parentf69b93de40949294e967702f45e818c50d3db0b9 (diff)
downloadsubsurface-320d2c47aab4bada071c665509f5eba499ed5780.tar.gz
Mobile: fix incorrect variable dereference for dive site
Since we are accessing the model, this is the variable we should use. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index e46d6c45e..4febf688b 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -52,7 +52,7 @@ Item {
enabled: gpsDecimal !== ""
onClicked: {
showMap()
- mapPage.centerOnDiveSite(dive_site)
+ mapPage.centerOnDiveSite(diveSite)
}
}
}
@@ -63,7 +63,7 @@ Item {
text: qsTr("Map it")
onClicked: {
showMap()
- mapPage.centerOnDiveSite(dive_site)
+ mapPage.centerOnDiveSite(diveSite)
}
}
Row {