Fix memory leak and crash with data packs modal

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2026-05-15 13:01:41 +01:00
parent de60d804a1
commit 28eba8ed43
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E

View file

@ -259,6 +259,7 @@ void WorldListPage::on_actionData_Packs_triggered()
dialog->setLayout(layout);
dialog->setAttribute(Qt::WA_DeleteOnClose);
dialog->exec();
APPLICATION->settings()->set("DataPackDownloadGeometry", dialog->saveGeometry().toBase64());