Commit 2f59a66a authored by Wescoeur's avatar Wescoeur

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

parent a36f2db1
...@@ -107,6 +107,11 @@ ColumnLayout { ...@@ -107,6 +107,11 @@ ColumnLayout {
text: avatar.username text: avatar.username
onEditingFinished: Logic.setUsername(text) onEditingFinished: Logic.setUsername(text)
onReadOnlyChanged: {
if (!readOnly) {
focus = true
}
}
} }
Row { Row {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment