From 997480cacbcfa3c4148862df9b785350ab8171f3 Mon Sep 17 00:00:00 2001 From: "Michael Ziminsky (Z)" Date: Thu, 25 Oct 2018 01:06:13 -0700 Subject: [PATCH] Java Client: Select name field text on new user dialog open --- .../com/lyndir/masterpassword/gui/view/UserContentPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java b/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java index 8af646da..ee9fda8e 100644 --- a/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java +++ b/platform-independent/java/gui/src/main/java/com/lyndir/masterpassword/gui/view/UserContentPanel.java @@ -145,7 +145,7 @@ public class UserContentPanel extends JPanel implements MasterPassword.Listener, incognitoField ), JOptionPane.QUESTION_MESSAGE, JOptionPane.OK_CANCEL_OPTION ) { @Override public void selectInitialValue() { - nameField.requestFocusInWindow(); + nameField.selectAll(); } } )) return;