App: Retranslate all pages when the language is changed
This commit is contained in:

committed by
Sefa Eyeoglu

parent
a2c85a8531
commit
dd5c4b6864
@ -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)
|
||||
|
Reference in New Issue
Block a user