Commit 8129152a authored by Nate Graham's avatar Nate Graham
Browse files

Implement Kirigami.CheckableListItem properly

We don't need an action here, we just need to listen for when the
checked status changes.

BUG: 449766
FIXED-IN: 5.24.1
parent 1a9a22f5
......@@ -38,12 +38,7 @@ Kirigami.OverlaySheet {
checked: model.checked
action: Action {
onTriggered: {
checked = !checked
addonsModel.changeState(packageName, listItem.checked)
}
}
onCheckedChanged: addonsModel.changeState(packageName, listItem.checked)
}
}
......
Supports Markdown
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