Changeset 4963b27 in subsurface


Ignore:
Timestamp:
Jun 25, 2017, 4:12:07 PM (3 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
77f545b
Parents:
fc2ca3a8
Message:

QML UI: Download from DC: avoid assignments of undefined values

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qml/DownloadFromDiveComputer.qml

    rfc2ca3a8 r4963b27  
    137137                        delegate : DownloadedDiveDelegate {
    138138                                id: delegate
    139                                 datetime: model.datetime
    140                                 duration: model.duration
    141                                 depth: model.depth
    142                                 selected: model.selected
     139                                datetime: model.datetime ? model.datetime : ""
     140                                duration: model.duration ? model.duration : ""
     141                                depth: model.depth ? model.depth : ""
     142                                selected: model.selected ? model.selected : false
    143143
    144144                                backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor
Note: See TracChangeset for help on using the changeset viewer.