work in focus scope
commitcdfd0a649929207f3f7fa349c4c7f0d7670bb258
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateFri 10 Jul 2015, 18:55 (11 years ago)
parent0b28678
qml/Wizard/CheckableSetting.qml+4−1
@@ -32,8 +32,9 @@ ListItem.Empty {
3232
3333 implicitHeight: Math.max(label.height, checkBox.height)
3434
35− Item {
35+ FocusScope {
3636 anchors.fill: parent
37+ focus: true
3738
3839 CheckBox {
3940 id: checkBox
@@ -83,5 +84,7 @@ ListItem.Empty {
8384 fontSize: "small"
8485 onLinkActivated: listItem.linkActivated(link)
8586 }
87+
88+ Keys.onSpacePressed: checkBox.trigger()
8689 }
8790}