From 8f1fc451aec9a7e36aa18503235f2562c8f7fb7e Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Tue, 14 Oct 2025 13:02:53 +0300 Subject: [PATCH] Fix "Save as .torrent file" button is visible before metadata retrieved PR #23375. --- src/gui/addnewtorrentdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/addnewtorrentdialog.cpp b/src/gui/addnewtorrentdialog.cpp index 0f4359579..7da640791 100644 --- a/src/gui/addnewtorrentdialog.cpp +++ b/src/gui/addnewtorrentdialog.cpp @@ -508,7 +508,7 @@ void AddNewTorrentDialog::setCurrentContext(const std::shared_ptr conte { m_ui->lblMetaLoading->setVisible(false); m_ui->progMetaLoading->setVisible(false); - m_ui->buttonSave->setVisible(false); + m_ui->buttonSave->setVisible(true); setupTreeview(); } else @@ -520,6 +520,7 @@ void AddNewTorrentDialog::setCurrentContext(const std::shared_ptr conte m_ui->labelDateData->setText(tr("Not Available", "This date is unavailable")); updateDiskSpaceLabel(); setMetadataProgressIndicator(true, tr("Retrieving metadata...")); + m_ui->buttonSave->setVisible(false); } TMMChanged(m_ui->comboTMM->currentIndex());