QML UI: Download from DC: respond to click on checkbox

Strangely, a click/tap anywhere else worked as expected, but if you hit
exactly on the checkbox, the status change wasn't propagated.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-22 13:36:54 -07:00
parent 05a3bbe65c
commit 686b87e903

View file

@ -56,6 +56,10 @@ Kirigami.AbstractListItem {
visible: diveIsSelected && diveIsSelected.checked
}
}
onClicked: {
console.log("Clicked on the checkbox of item " + index)
importModel.selectRow(index)
}
}
Item {
id: diveListEntry