This commit is contained in:
Martin Rotter 2024-03-22 07:39:43 +01:00
parent 956b4cd069
commit 202da682b8

View File

@ -699,9 +699,12 @@ void DownloadManager::load() {
if (!url.isEmpty() && !file_name.isEmpty()) {
auto* item = new DownloadItem(nullptr, {}, {}, this);
item->m_finishedDownloading = done;
item->m_output.setFileName(file_name);
item->m_url = url;
item->updateInfoAndUrlLabel();
item->m_ui->m_btnStopDownload->setVisible(false);
item->m_ui->m_btnStopDownload->setEnabled(false);
item->m_ui->m_btnTryAgain->setVisible(!done);