qml: Use a ListView for the hw selector

This commit is contained in:
Tom Dewey tom.dewey@raspberrypi.com 2023-10-10 10:34:34 +01:00
parent c7fa7504fe
commit a4a90361a3

View file

@ -117,7 +117,7 @@ ApplicationWindow {
Layout.fillWidth: true Layout.fillWidth: true
onClicked: { onClicked: {
hwpopup.open() hwpopup.open()
hwswipeview.currentItem.forceActiveFocus() hwlistview.currentItem.forceActiveFocus()
} }
Accessible.ignored: ospopup.visible || dstpopup.visible Accessible.ignored: ospopup.visible || dstpopup.visible
Accessible.description: qsTr("Select this button to choose your target Raspberry Pi") Accessible.description: qsTr("Select this button to choose your target Raspberry Pi")
@ -461,8 +461,8 @@ ApplicationWindow {
Layout.preferredWidth: hwlist.width Layout.preferredWidth: hwlist.width
Layout.preferredHeight: hwlist.height Layout.preferredHeight: hwlist.height
SwipeView { ListView {
id: hwswipeview id: hwlistview
interactive: false interactive: false
ListView { ListView {