From 410fd222d15dca8673606133499cefde780f163b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 2 Apr 2016 17:59:59 -0500 Subject: QML UI: make sure the correct data is in the bread crumbs Once again this requires changes that aren't upstream in Kirigami. But with this the bread crumbs update when the user swipes from dive to dive. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-mobile') diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index dd5fb3c62..2b2d4da38 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -34,6 +34,10 @@ Kirigami.Page { title: diveDetailsListView.currentItem.modelData.dive.location state: "view" + onTitleChanged: { + header.updateBreadCrumbs() + } + states: [ State { name: "view" -- cgit v1.2.3-70-g09d2