mobile/divelist: connect click on trip to toggle MobileListModel

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-03-06 18:06:31 +01:00 committed by Dirk Hohndel
parent edeaf7fa57
commit 730fd26814
3 changed files with 3 additions and 2 deletions

View file

@ -50,7 +50,7 @@ Kirigami.ScrollablePage {
if (isTrip) {
manager.appendTextToLog("clicked on trip " + tripTitle)
// toggle expand (backend to deal with unexpand other trip)
manager.toggle(model.row);
diveModel.toggle(model.row);
} else {
manager.appendTextToLog("clicked on dive")
if (detailsWindow.state === "view") {