summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/installclass.py b/installclass.py
index b50fa878f..379c84eb9 100644
--- a/installclass.py
+++ b/installclass.py
@@ -351,12 +351,14 @@ class BaseInstallClass:
else:
newlist = []
for lang in langlist:
- newlist.append(id.instLanguage.getLangNameByNick(lang))
+ name = id.instLanguage.getLangNameByNick (lang)
+ if name not in newlist:
+ newlist.append(name)
default = id.instLanguage.getDefault()
if default not in newlist:
newlist.append(default)
-
+
id.instLanguage.setSupported(newlist)
def setLanguageDefault(self, id, default):