mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +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