mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-09 20:13:22 -04:00
Fix close button on world datapacks dialog
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
e4ed3b4546
commit
b54dd051fb
@ -255,7 +255,7 @@ void WorldListPage::on_actionData_Packs_triggered()
|
|||||||
layout->addWidget(pageContainer);
|
layout->addWidget(pageContainer);
|
||||||
|
|
||||||
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Close | QDialogButtonBox::Help);
|
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);
|
connect(buttonBox, &QDialogButtonBox::helpRequested, pageContainer, &PageContainer::help);
|
||||||
layout->addWidget(buttonBox);
|
layout->addWidget(buttonBox);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user