aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index f6a323300..229b5322d 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -28,6 +28,10 @@ Kirigami.Page {
id: downloadThread
onFinished : {
+ if (!table || !sites) {
+ console.warn("DCDownloadThread::onFinished(): table or sites is null!")
+ return
+ }
importModel.repopulate(table, sites)
progressBar.visible = false
if (dcImportModel.rowCount() > 0) {