mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 22:58:15 +00:00
feat(ui/views/App/Main/ContactEdit): force focus on user name when edition is triggered
This commit is contained in:
parent
a36f2db160
commit
2f59a66ad7
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ ColumnLayout {
|
|||
text: avatar.username
|
||||
|
||||
onEditingFinished: Logic.setUsername(text)
|
||||
onReadOnlyChanged: {
|
||||
if (!readOnly) {
|
||||
focus = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Row {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue