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>
This commit is contained in:
Dirk Hohndel 2016-04-02 17:59:59 -05:00
parent 162d07086b
commit 410fd222d1

View file

@ -34,6 +34,10 @@ Kirigami.Page {
title: diveDetailsListView.currentItem.modelData.dive.location
state: "view"
onTitleChanged: {
header.updateBreadCrumbs()
}
states: [
State {
name: "view"