From d41012a2852665c1941d3d0f45cfdd4acf1ecdc2 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 70757b066..7b553e091 100644 --- a/src/gui/addnewtorrentdialog.cpp +++ b/src/gui/addnewtorrentdialog.cpp @@ -511,7 +511,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 @@ -523,6 +523,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());