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 #135234 passed with stage
in 53 seconds
...@@ -38,12 +38,7 @@ Kirigami.OverlaySheet { ...@@ -38,12 +38,7 @@ Kirigami.OverlaySheet {
checked: model.checked checked: model.checked
action: Action { onCheckedChanged: addonsModel.changeState(packageName, listItem.checked)
onTriggered: {
checked = !checked
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