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) {