aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-30 16:59:35 -0300
committerflow <flowlnlnln@gmail.com>2023-01-13 16:23:08 -0300
commitb3330cb0da39db6e8add3bbe35cd6d417374146a (patch)
treeaf12118e0606dd57698330a360240fa6eda9fc03 /launcher/ui/dialogs
parent7d128c79a3cceb5e88157ead72009642ee0e4a07 (diff)
downloadPrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.tar.gz
PrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.tar.bz2
PrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.zip
fix(RD): correctly set the strings for the specific resource names
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r--launcher/ui/dialogs/ResourceDownloadDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ResourceDownloadDialog.cpp b/launcher/ui/dialogs/ResourceDownloadDialog.cpp
index 2eb85928..fa3352b3 100644
--- a/launcher/ui/dialogs/ResourceDownloadDialog.cpp
+++ b/launcher/ui/dialogs/ResourceDownloadDialog.cpp
@@ -64,7 +64,6 @@ ResourceDownloadDialog::ResourceDownloadDialog(QWidget* parent, const std::share
HelpButton->setAutoDefault(false);
setWindowModality(Qt::WindowModal);
- setWindowTitle(dialogTitle());
}
void ResourceDownloadDialog::accept()
@@ -206,6 +205,8 @@ void ResourceDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* s
ModDownloadDialog::ModDownloadDialog(QWidget* parent, const std::shared_ptr<ModFolderModel>& mods, BaseInstance* instance)
: ResourceDownloadDialog(parent, mods), m_instance(instance)
{
+ setWindowTitle(dialogTitle());
+
initializeContainer();
connectButtons();