fix(@desktop/sendModel): Use tab to focus to next field (#12571)

This commit is contained in:
Cuteivist 2023-10-30 10:34:07 +01:00 committed by GitHub
parent ccd8c5b65f
commit 7de6eaa787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -309,6 +309,8 @@ StatusDialog {
formatCurrencyAmount: d.currencyStore.formatCurrencyAmount formatCurrencyAmount: d.currencyStore.formatCurrencyAmount
onReCalculateSuggestedRoute: popup.recalculateRoutesAndFees() onReCalculateSuggestedRoute: popup.recalculateRoutesAndFees()
input.input.tabNavItem: recipientLoader.item
Keys.onTabPressed: event.accepted = true
} }
// Horizontal spacer // Horizontal spacer

View File

@ -199,6 +199,7 @@ Loader {
} }
} }
} }
Keys.onTabPressed: event.accepted = true
Keys.onReleased: { Keys.onReleased: {
let plainText = store.plainText(input.edit.text) let plainText = store.plainText(input.edit.text)
if(!plainText) { if(!plainText) {