diff options
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d42eabac..8f2dd250 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5291,6 +5291,10 @@ void MainWindow::initDownloadView() void MainWindow::updateDownloadView() { + // this means downlaodTab initialization hasnt happened yet + if (ui->downloadView->model() == nullptr) { + return; + } // set the view attribute and default row sizes if (m_OrganizerCore.settings().interface().compactDownloads()) { ui->downloadView->setProperty("downloadView", "compact"); |
