mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f69b93de40
commit
320d2c47aa
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ Item {
|
||||||
enabled: gpsDecimal !== ""
|
enabled: gpsDecimal !== ""
|
||||||
onClicked: {
|
onClicked: {
|
||||||
showMap()
|
showMap()
|
||||||
mapPage.centerOnDiveSite(dive_site)
|
mapPage.centerOnDiveSite(diveSite)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -63,7 +63,7 @@ Item {
|
||||||
text: qsTr("Map it")
|
text: qsTr("Map it")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
showMap()
|
showMap()
|
||||||
mapPage.centerOnDiveSite(dive_site)
|
mapPage.centerOnDiveSite(diveSite)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Row {
|
Row {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue