mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
05a3bbe65c
commit
686b87e903
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue