diff --git a/Modals/Clipboard/ClipboardContent.qml b/Modals/Clipboard/ClipboardContent.qml index 78623702..23a09bfa 100644 --- a/Modals/Clipboard/ClipboardContent.qml +++ b/Modals/Clipboard/ClipboardContent.qml @@ -46,6 +46,7 @@ Item { leftIconName: "search" showClearButton: true focus: true + ignoreTabKeys: true keyForwardTargets: [modal.modalFocusScope] onTextChanged: { modal.searchText = text diff --git a/Widgets/DankTextField.qml b/Widgets/DankTextField.qml index 28a0164d..66a30089 100644 --- a/Widgets/DankTextField.qml +++ b/Widgets/DankTextField.qml @@ -110,7 +110,7 @@ StyledRect { onEditingFinished: root.editingFinished() onAccepted: root.accepted() onActiveFocusChanged: root.focusStateChanged(activeFocus) - Keys.forwardTo: root.ignoreLeftRightKeys ? root.keyForwardTargets : [] + Keys.forwardTo: root.keyForwardTargets Keys.onLeftPressed: event => { if (root.ignoreLeftRightKeys) { event.accepted = true