Display selected count and add buttons to dialog

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-03-25 23:23:49 +00:00
parent 82978ee34d
commit ed96f2064b
2 changed files with 32 additions and 15 deletions

View File

@@ -156,6 +156,8 @@ void GlobalDataPackPage::updateContent()
if (shouldDisplay()) {
m_underlyingPage = new DataPackPage(m_instance, m_instance->dataPackList());
m_underlyingPage->setParentContainer(m_container);
m_underlyingPage->updateExtraInfo = [this](QString id, QString value) { updateExtraInfo(std::move(id), std::move(value)); };
if (m_container->selectedPage() == this)
m_underlyingPage->openedImpl();
@@ -163,7 +165,6 @@ void GlobalDataPackPage::updateContent()
layout()->addWidget(m_underlyingPage);
}
}
void GlobalDataPackPage::setParentContainer(BasePageContainer* container)
{
BasePage::setParentContainer(container);