diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-02 17:59:59 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-02 17:59:59 -0500 |
commit | 410fd222d15dca8673606133499cefde780f163b (patch) | |
tree | c933db26d89549d028db067eabda7c8c47b4f9bd /qt-mobile/qml/DiveDetails.qml | |
parent | 162d07086bc2c0e6f3ca16ed0ea581b1c12a7c88 (diff) | |
download | subsurface-410fd222d15dca8673606133499cefde780f163b.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 4 |
1 files changed, 4 insertions, 0 deletions
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" |