mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-11 04:37:37 -06:00
Fix "Save as .torrent file" button is visible before metadata retrieved
PR #23375.
This commit is contained in:
parent
0f7a27ea03
commit
8f1fc451ae
@ -508,7 +508,7 @@ void AddNewTorrentDialog::setCurrentContext(const std::shared_ptr<Context> conte
|
|||||||
{
|
{
|
||||||
m_ui->lblMetaLoading->setVisible(false);
|
m_ui->lblMetaLoading->setVisible(false);
|
||||||
m_ui->progMetaLoading->setVisible(false);
|
m_ui->progMetaLoading->setVisible(false);
|
||||||
m_ui->buttonSave->setVisible(false);
|
m_ui->buttonSave->setVisible(true);
|
||||||
setupTreeview();
|
setupTreeview();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -520,6 +520,7 @@ void AddNewTorrentDialog::setCurrentContext(const std::shared_ptr<Context> conte
|
|||||||
m_ui->labelDateData->setText(tr("Not Available", "This date is unavailable"));
|
m_ui->labelDateData->setText(tr("Not Available", "This date is unavailable"));
|
||||||
updateDiskSpaceLabel();
|
updateDiskSpaceLabel();
|
||||||
setMetadataProgressIndicator(true, tr("Retrieving metadata..."));
|
setMetadataProgressIndicator(true, tr("Retrieving metadata..."));
|
||||||
|
m_ui->buttonSave->setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
TMMChanged(m_ui->comboTMM->currentIndex());
|
TMMChanged(m_ui->comboTMM->currentIndex());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user