fix(ui/modules/Common/Form/Fields/HexField): handle correctly edition terminated

This commit is contained in:
Ronan Abhamon 2017-02-28 15:04:18 +01:00
parent 36368c826f
commit a84cb8e26f
3 changed files with 7 additions and 6 deletions

View file

@ -41,10 +41,11 @@ Item {
}
onEditingFinished: {
text = text.length
? parseInt(textField.text, 16)
: 0
wrapper.editingFinished(text)
if (!text.length) {
text = '0'
}
wrapper.editingFinished(parseInt(textField.text, 16))
}
}
}

@ -1 +1 @@
Subproject commit 7c5bb0a415950fe38f0857ed02c66b65b976be28
Subproject commit d95f3f9fc6e1a9bacd50c6b5c5e80e24a44796f6

@ -1 +1 @@
Subproject commit 326a0976c0b42927056d39d99a396a2d0a8fc3da
Subproject commit 147c2540ef8399dad97b05350c17501f4f437de6