Fix close button on world datapacks dialog

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-06-01 19:24:21 +00:00
committed by GitHub
parent e4ed3b4546
commit b54dd051fb

View File

@ -255,7 +255,7 @@ void WorldListPage::on_actionData_Packs_triggered()
layout->addWidget(pageContainer);
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Close | QDialogButtonBox::Help);
connect(buttonBox, &QDialogButtonBox::accepted, dialog, &QDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, dialog, &QDialog::reject);
connect(buttonBox, &QDialogButtonBox::helpRequested, pageContainer, &PageContainer::help);
layout->addWidget(buttonBox);