mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue