Commit 3744436a authored by Bhushan Shah's avatar Bhushan Shah 📱

Use RadioDelegate to allow clicking on whole item

parent ffb09ab3
......@@ -66,17 +66,13 @@ Item {
Repeater {
model: kcm.themeListModel
delegate: RowLayout {
Controls.Label {
text: model.display
Layout.fillWidth: true
}
Controls.RadioButton {
checked: kcm.themeName == model.packageNameRole
onCheckedChanged: {
if (checked) {
kcm.themeName = model.packageNameRole;
}
delegate: Controls.RadioDelegate {
Layout.fillWidth: true
text: model.display
checked: kcm.themeName == model.packageNameRole
onCheckedChanged: {
if (checked) {
kcm.themeName = model.packageNameRole;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment