summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index e9afd92ab..b9a59adcb 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -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