mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 13:47:46 +02:00
Fix close button on world datapacks dialog
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user