mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile: get GPS data from dive site name
When the user entered a dive site using autocompletion, it is a known site, of which we might have a GPS location already. Just fill the known site coordinates. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
64704d6e5a
commit
806c7077f2
3 changed files with 16 additions and 0 deletions
|
@ -112,6 +112,9 @@ Item {
|
|||
diveDetailsListView.currentItem.modelData.dive.locationList : null
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
Layout.fillWidth: true
|
||||
onEditingFinished: {
|
||||
gpsText = manager.getGpsFromSiteName(text)
|
||||
}
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue