mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +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 !== ""
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue