mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +03:00
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…
Reference in a new issue