mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
fix(Onboarding): User is able to bypass validation of username when using keyboard
Fixes #6012
This commit is contained in:
parent
3aba152206
commit
5feef166f8
@ -151,11 +151,13 @@ Item {
|
||||
onKeyPressed: {
|
||||
if (input.edit.keyEvent === Qt.Key_Return || input.edit.keyEvent === Qt.Key_Enter) {
|
||||
event.accepted = true
|
||||
if(nextBtn.enabled) {
|
||||
nextBtn.clicked(null)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StyledText {
|
||||
id: chatKeyTxt
|
||||
|
Loading…
x
Reference in New Issue
Block a user