mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue