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,7 +210,8 @@ public final class ALogin extends CDialog
|
|||
userTextField.setName("userTextField");
|
||||
passwordField.setName("passwordField");
|
||||
|
||||
Env.getLoginLanguages(); // to fill the s_language array on Language
|
||||
if (DB.isConnected())
|
||||
Env.getLoginLanguages(); // to fill the s_language array on Language
|
||||
languageCombo = new VComboBox(Language.getNames());
|
||||
|
||||
//red1 - end -
|
||||
|
|
Loading…
Reference in New Issue