Merge pull request #1956

341c00b Main: fix changing language from settings (mmbyday)
This commit is contained in:
luigi1111 2019-02-25 04:50:21 -06:00
commit c7542932f0
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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