diff options
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r-- | qt-mobile/qml/DiveList.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml index c95b4dcaa..afb0c3686 100644 --- a/qt-mobile/qml/DiveList.qml +++ b/qt-mobile/qml/DiveList.qml @@ -167,4 +167,12 @@ Rectangle { section.criteria: ViewSection.FullString section.delegate: tripHeading } + StartPage { + anchors.fill: parent + opacity: (diveModel.rowCount() == 0) ? 1.0 : 0 + Behavior on opacity { NumberAnimation { duration: units.shortDuration } } + Component.onCompleted: { + print("diveModel.count " + diveModel.rowCount()); + } + } } |