Commit 3674bc6b 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

(cherry picked from commit 8129152a)
parent 3907841a
Pipeline #135063 passed with stage
in 53 seconds
......@@ -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