App: Retranslate all pages when the language is changed
This commit is contained in:
parent
a2c85a8531
commit
dd5c4b6864
54 changed files with 158 additions and 11 deletions
|
@ -166,6 +166,9 @@ void PageContainer::retranslate()
|
|||
{
|
||||
if (m_currentPage)
|
||||
m_header->setText(m_currentPage->displayName());
|
||||
|
||||
for (auto page : m_model->pages())
|
||||
page->retranslate();
|
||||
}
|
||||
|
||||
void PageContainer::addButtons(QWidget *buttons)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue