@@ -83,9 +83,11 @@ LocalComponents.Page {
8383 LocalComponents.StackButton {
8484 text: i18n.tr("Continue")
8585 onClicked: {
86− plugin.currentLanguage = listview.currentIndex
87− System.updateSessionLanguage(plugin.languageCodes[listview.currentIndex]);
88− i18n.language = i18n.language; // re-notify of change after above call (for qlocale change)
86+ if (plugin.currentLanguage !== listview.currentIndex) {
87+ plugin.currentLanguage = listview.currentIndex;
88+ System.updateSessionLanguage(plugin.languageCodes[listview.currentIndex]);
89+ i18n.language = i18n.language; // re-notify of change after above call (for qlocale change)
90+ }
8991 pageStack.next()
9092 }
9193 }