This commit is contained in:
parent
2c902cc459
commit
682dd0cca4
|
@ -212,6 +212,19 @@ public class LoginPanel extends Window implements EventListener
|
|||
Language language = Language.getLanguage(langName);
|
||||
lstLanguage.appendItem(langName, language.getAD_Language());
|
||||
}
|
||||
|
||||
//set base language
|
||||
String baseLanguage = Language.getBaseLanguage().getName();
|
||||
for(int i = 0; i < lstLanguage.getItemCount(); i++)
|
||||
{
|
||||
Comboitem li = lstLanguage.getItemAtIndex(i);
|
||||
if(li.getLabel().equals(baseLanguage))
|
||||
{
|
||||
lstLanguage.setSelectedIndex(i);
|
||||
languageChanged(li.getLabel());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onEvent(Event event)
|
||||
|
|
Loading…
Reference in New Issue