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
onClicked: {
hwpopup.open()
hwswipeview.currentItem.forceActiveFocus()
hwlistview.currentItem.forceActiveFocus()
}
Accessible.ignored: ospopup.visible || dstpopup.visible
Accessible.description: qsTr("Select this button to choose your target Raspberry Pi")
@ -193,7 +193,7 @@ ApplicationWindow {
}
Accessible.ignored: ospopup.visible || dstpopup.visible
Accessible.description: qsTr("Select this button to change the destination storage device")
}
}
}
ColumnLayout {
@ -461,8 +461,8 @@ ApplicationWindow {
Layout.preferredWidth: hwlist.width
Layout.preferredHeight: hwlist.height
SwipeView {
id: hwswipeview
ListView {
id: hwlistview
interactive: false
ListView {