mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
avoid dereferencing undefined object
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
12f0af19cb
commit
1004ced285
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ Kirigami.Page {
|
||||||
property alias endpressure: detailsEdit.endpressureText
|
property alias endpressure: detailsEdit.endpressureText
|
||||||
property alias gasmix: detailsEdit.gasmixText
|
property alias gasmix: detailsEdit.gasmixText
|
||||||
|
|
||||||
title: diveDetailsListView.currentItem.modelData.dive.location
|
title: diveDetailsListView.currentItem ? diveDetailsListView.currentItem.modelData.dive.location : "Dive details"
|
||||||
state: "view"
|
state: "view"
|
||||||
|
|
||||||
states: [
|
states: [
|
||||||
|
|
Loading…
Reference in a new issue