mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile/UI: ensure that edited text is current
By removing focus from all input fields we can ensure that we have the correct data reflected when saving an edited dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0a88d9839c
commit
685403ff47
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveData() {
|
function saveData() {
|
||||||
|
focusReset()
|
||||||
var state = diveDetailsPage.state
|
var state = diveDetailsPage.state
|
||||||
diveDetailsPage.state = "view" // run the transition
|
diveDetailsPage.state = "view" // run the transition
|
||||||
// join cylinder info from separate string into a list.
|
// join cylinder info from separate string into a list.
|
||||||
|
|
Loading…
Reference in a new issue