Merge pull request #681 from amnezia-vpn/bugfix/mobile-auto-focus-disable

First element auto-focus disabled for the mobile platforms
This commit is contained in:
pokamest 2024-03-12 18:48:33 +00:00 committed by GitHub
commit d443a0063d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 2 deletions

View file

@ -93,6 +93,7 @@ PageType {
Connections {
target: serverNameEditDrawer
enabled: !GC.isMobile()
function onOpened() {
serverName.textField.forceActiveFocus()
}

View file

@ -648,6 +648,7 @@ PageType {
Connections {
target: clientNameEditDrawer
enabled: !GC.isMobile()
function onOpened() {
clientNameEditor.textField.forceActiveFocus()
}