summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index 6ad50a682..25c33b939 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -142,7 +142,11 @@ Item {
Layout.fillWidth: true
onAccepted: {
focus = false
- gpsText = manager.getGpsFromSiteName(text)
+ gpsText = manager.getGpsFromSiteName(editText)
+ }
+ onActivated: {
+ focus = false
+ gpsText = manager.getGpsFromSiteName(editText)
}
}