requestFocus() -> requestFocusInWindow()
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3450 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -117,7 +117,7 @@ public class ChatPanel
|
||||
addAncestorListener(new AncestorAdapter() {
|
||||
public void ancestorAdded (AncestorEvent e) {
|
||||
if (_focus) {
|
||||
_entry.requestFocus();
|
||||
_entry.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -291,7 +291,7 @@ public class ChatPanel
|
||||
_entry.setEnabled(true);
|
||||
_send.setEnabled(true);
|
||||
if (_focus) {
|
||||
_entry.requestFocus();
|
||||
_entry.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user