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
|
model : importModel
|
||||||
delegate : DownloadedDiveDelegate {
|
delegate : DownloadedDiveDelegate {
|
||||||
id: delegate
|
id: delegate
|
||||||
datetime: model.datetime
|
datetime: model.datetime ? model.datetime : ""
|
||||||
duration: model.duration
|
duration: model.duration ? model.duration : ""
|
||||||
depth: model.depth
|
depth: model.depth ? model.depth : ""
|
||||||
selected: model.selected
|
selected: model.selected ? model.selected : false
|
||||||
|
|
||||||
backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor
|
backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue