IDEMPIERE-158 Make selection of login languages more flexible / fix NPE when DB is not connected
This commit is contained in:
parent
1a113b9cb5
commit
e9569318d7
|
@ -210,6 +210,7 @@ public final class ALogin extends CDialog
|
|||
userTextField.setName("userTextField");
|
||||
passwordField.setName("passwordField");
|
||||
|
||||
if (DB.isConnected())
|
||||
Env.getLoginLanguages(); // to fill the s_language array on Language
|
||||
languageCombo = new VComboBox(Language.getNames());
|
||||
|
||||
|
|
Loading…
Reference in New Issue