Fix incorrect suggestion input when entering seed phrase (#12662)

Co-authored-by: kounkou <jacques@status.im>
This commit is contained in:
Godfrain Jacques 2023-11-14 02:00:54 -08:00 committed by GitHub
parent 1eab90173e
commit a42fa6d8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -164,9 +164,11 @@ Item {
}
if (input.edit.keyEvent === Qt.Key_Down) {
seedSuggestionsList.incrementCurrentIndex()
input.edit.keyEvent = null
}
if (input.edit.keyEvent === Qt.Key_Up) {
seedSuggestionsList.decrementCurrentIndex()
input.edit.keyEvent = null
}
root.keyPressed(event);
}