fix(ContactEdit): set correctly focus on username field when the add button of the smart bar is clicked

This commit is contained in:
Ronan Abhamon 2017-07-17 12:27:33 +02:00
parent d32f8ed4b7
commit ea5e3849ba

View file

@ -109,7 +109,7 @@ ColumnLayout {
onEditingFinished: Logic.setUsername(text)
onReadOnlyChanged: {
if (!readOnly) {
focus = true
forceActiveFocus()
}
}
}