feat(ui/views/App/Main/ContactEdit): force focus on user name when edition is triggered

This commit is contained in:
Wescoeur 2017-06-13 22:11:02 +02:00
parent a36f2db160
commit 2f59a66ad7

View file

@ -107,6 +107,11 @@ ColumnLayout {
text: avatar.username
onEditingFinished: Logic.setUsername(text)
onReadOnlyChanged: {
if (!readOnly) {
focus = true
}
}
}
Row {