mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Hack to work around issue in current Kirigami master
Commit 339411cca69b in Kirigami master tries to reparent the OverlaySheet to the page that it is related to. Unfortunately the heuristic used there to find the right object assumes that every page has a contentItem property, which our DiveDetails page doesn't have. As a hack to work around this issue (until this is fixed upstream in Kirigami) we simply create such a property. This commit should be reverted once Kirigami upstream has been fixed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6e6cce770b
commit
9f9853fc44
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ Kirigami.Page {
|
|||
property alias gasmix: detailsEdit.gasmixText
|
||||
property int updateCurrentIdx: manager.updateSelectedDive
|
||||
|
||||
property bool contentItem: true // HACK to work around Kirigami issue - remove once that's addressed upstream
|
||||
|
||||
title: diveDetailsListView.currentItem ? diveDetailsListView.currentItem.modelData.dive.location : "Dive details"
|
||||
state: "view"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue