mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Main: fix changing language from settings
This commit is contained in:
parent
f3a47dbff8
commit
341c00b15c
1 changed files with 5 additions and 0 deletions
5
main.qml
5
main.qml
|
@ -1741,6 +1741,11 @@ ApplicationWindow {
|
||||||
function toggleLanguageView(){
|
function toggleLanguageView(){
|
||||||
middlePanel.visible = !middlePanel.visible;
|
middlePanel.visible = !middlePanel.visible;
|
||||||
languageView.visible = !languageView.visible
|
languageView.visible = !languageView.visible
|
||||||
|
// update after changing language from settings page
|
||||||
|
if (persistentSettings.language != wizard.language_language) {
|
||||||
|
persistentSettings.language = wizard.language_language
|
||||||
|
persistentSettings.locale = wizard.language_locale
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Make the callback dynamic
|
// TODO: Make the callback dynamic
|
||||||
|
|
Loading…
Reference in a new issue