diff options
Diffstat (limited to 'tests/manual/testbench/controls/SwipeDelegate.qml')
-rw-r--r-- | tests/manual/testbench/controls/SwipeDelegate.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/testbench/controls/SwipeDelegate.qml b/tests/manual/testbench/controls/SwipeDelegate.qml index 3ea67101..6143a50f 100644 --- a/tests/manual/testbench/controls/SwipeDelegate.qml +++ b/tests/manual/testbench/controls/SwipeDelegate.qml @@ -83,6 +83,7 @@ QtObject { // Only set it if it's pressed, or the non-pressed examples will have no press effects down: is("pressed") ? true : undefined highlighted: is("highlighted") + focusPolicy: Qt.StrongFocus swipe.left: actionComponent swipe.right: actionComponent @@ -96,6 +97,7 @@ QtObject { delegate: SwipeDelegate { width: parent.width text: "SwipeDelegate" + focusPolicy: Qt.StrongFocus swipe.left: actionComponent swipe.right: actionComponent |