Bugfix
This commit is contained in:
parent
84f0d5f354
commit
9764f546da
2 changed files with 14 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ public class LoginDialog extends JDialog {
|
|||
pack();
|
||||
|
||||
//move focus to the password field if already a username has been defined. must be done after pack()
|
||||
if(username.isEmpty() == false){
|
||||
if(username != null && username.isEmpty() == false){
|
||||
passwordPasswordField.requestFocusInWindow();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue