focus and select text on clicking edit button
This commit is contained in:
parent
e09e587796
commit
0ebb2947ef
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ ApplicationWindow {
|
|||
displayUsername.isUsernameEditingAllowed = false
|
||||
} else {
|
||||
displayUsername.isUsernameEditingAllowed = true
|
||||
displayUsername.focus = true
|
||||
displayUsername.selectAll()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue