fix: Holdings dropdown searcher locked

Set the `KeyNavigation.backtab` to itself to avoid accidentally pressing
`Shift+Tab` and tab away from the focused `StatusInput` (which makes it
look like it's disabled)

Fixes #10561
This commit is contained in:
Lukáš Tinkl 2023-06-12 17:02:27 +02:00 committed by Lukáš Tinkl
parent 5b94cad94e
commit a263b16862
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ ColumnLayout {
addOrUpdateButton.clicked()
}
KeyNavigation.backtab: domainNameInput
Component.onCompleted: {
if (text) {
input.dirty = true

View File

@ -393,6 +393,8 @@ Item {
return qsTr("Search collectibles")
}
KeyNavigation.backtab: searcher
Binding on placeholderText {
when: d.currentItemName !== ""
value: qsTr("Search %1").arg(d.currentItemName)