[apps/settings] Reload the title bar when changing language

Before, the "Settings" title would not be immediately translated into
the new language.
This commit is contained in:
Léa Saviot
2019-02-27 17:12:37 +01:00
committed by Émilie Feral
parent c5f555b8f1
commit 8ac2c80625
7 changed files with 19 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ void AppsWindow::refreshPreferences() {
m_titleBarView.refreshPreferences();
}
void AppsWindow::reloadTitleBarView() {
m_titleBarView.reload();
}
bool AppsWindow::updateAlphaLock() {
return m_titleBarView.setShiftAlphaLockStatus(Ion::Events::shiftAlphaStatus());
}