mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-25 10:47:19 +01:00
Main: fix changing language from settings
This commit is contained in:
parent
f3a47dbff8
commit
341c00b15c
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 New Issue
Block a user