mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Merge pull request #1956
341c00b
Main: fix changing language from settings (mmbyday)
This commit is contained in:
commit
c7542932f0
1 changed files with 5 additions and 0 deletions
5
main.qml
5
main.qml
|
@ -1741,6 +1741,11 @@ ApplicationWindow {
|
|||
function toggleLanguageView(){
|
||||
middlePanel.visible = !middlePanel.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
|
||||
|
|
Loading…
Reference in a new issue