QML UI: Download from DC: avoid assignments of undefined values
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fc2ca3a804
commit
4963b27f52
@ -136,10 +136,10 @@ Kirigami.Page {
|
||||
model : importModel
|
||||
delegate : DownloadedDiveDelegate {
|
||||
id: delegate
|
||||
datetime: model.datetime
|
||||
duration: model.duration
|
||||
depth: model.depth
|
||||
selected: model.selected
|
||||
datetime: model.datetime ? model.datetime : ""
|
||||
duration: model.duration ? model.duration : ""
|
||||
depth: model.depth ? model.depth : ""
|
||||
selected: model.selected ? model.selected : false
|
||||
|
||||
backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user