mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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 gasmix: detailsEdit.gasmixText
|
||||
|
||||
title: diveDetailsListView.currentItem.modelData.dive.location
|
||||
title: diveDetailsListView.currentItem ? diveDetailsListView.currentItem.modelData.dive.location : "Dive details"
|
||||
state: "view"
|
||||
|
||||
states: [
|
||||
|
|
Loading…
Reference in a new issue