diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-11-11 13:44:22 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-11-15 13:22:06 +0100 |
commit | 19976fd5db1f2fb4925831c5f7a708c090e4a70e (patch) | |
tree | 2b52581a4f2763e042fc96c4c6ad0adecc35ef15 /src/imports/controls/imagine | |
parent | e350aa83978e4a142d1e7c6433dfe37ddb0e71a8 (diff) |
SwipeView: fix issue where child items couldn't get focus
Set the focus property of the contentItem (ListView) to the focus
property of the SwipeView itself.
Change-Id: Ic410f7fb8db9fbb758b956dfe07e1b4265f5f687
Fixes: QTBUG-62401
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/imports/controls/imagine')
-rw-r--r-- | src/imports/controls/imagine/SwipeView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/imagine/SwipeView.qml b/src/imports/controls/imagine/SwipeView.qml index 4998edb7..70d65fef 100644 --- a/src/imports/controls/imagine/SwipeView.qml +++ b/src/imports/controls/imagine/SwipeView.qml @@ -61,6 +61,7 @@ T.SwipeView { model: control.contentModel interactive: control.interactive currentIndex: control.currentIndex + focus: control.focus spacing: control.spacing orientation: control.orientation |