QML UI: drop focus when selecting a location
Make sure to drop focus both for typing and when selecting an entry from the list. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
94e0ec8dc9
commit
ab99703b02
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user