settingslayout: fix change language button does not change language

This commit is contained in:
mmbyday 2019-02-28 14:44:11 -08:00
parent effa019053
commit e729cd233c

View file

@ -168,7 +168,7 @@ Rectangle {
visible: !persistentSettings.customDecorations visible: !persistentSettings.customDecorations
Layout.topMargin: 10 * scaleRatio Layout.topMargin: 10 * scaleRatio
small: true small: true
text: "Change language" text: qsTr("Change language") + translationManager.emptyString
onClicked: { onClicked: {
appWindow.toggleLanguageView(); appWindow.toggleLanguageView();