diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-22 16:30:17 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 11:38:26 -0700 |
commit | 320d2c47aab4bada071c665509f5eba499ed5780 (patch) | |
tree | 74856a32a52be67929dd5cf0a3cab2e8d9a2a4b2 /mobile-widgets/qml | |
parent | f69b93de40949294e967702f45e818c50d3db0b9 (diff) | |
download | subsurface-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.qml | 4 |
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 { |