File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
osx/src/main/java/ch/cyberduck/ui/cocoa/controller Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ public NSView getAccessoryView(final NSAlert alert) {
55
55
@ Override
56
56
protected void focus (final NSAlert alert ) {
57
57
super .focus (alert );
58
- alert .window ().makeFirstResponder (inputField );
59
58
inputField .selectText (null );
60
59
}
61
60
Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ public NSView getAccessoryView(final NSAlert alert) {
154
154
protected void focus (final NSAlert alert ) {
155
155
super .focus (alert );
156
156
if (options .user ) {
157
- window . makeFirstResponder ( usernameField );
157
+ usernameField . selectText ( null );
158
158
}
159
159
if (options .password && !StringUtils .isBlank (bookmark .getCredentials ().getUsername ())) {
160
- window . makeFirstResponder ( passwordField );
160
+ passwordField . selectText ( null );
161
161
}
162
162
}
163
163
You can’t perform that action at this time.
0 commit comments