mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update ctrl+f.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@8263 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -401,6 +401,9 @@ public class UserManager {
|
||||
if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) {
|
||||
if (ModelUtil.hasLength(contactField.getText())) {
|
||||
ContactItem item = (ContactItem)contactMap.get(contactField.getText());
|
||||
if (item == null) {
|
||||
item = contactField.getSelectedContactItem();
|
||||
}
|
||||
if (item != null) {
|
||||
parent.setGlassPane(glassPane);
|
||||
parent.getGlassPane().setVisible(false);
|
||||
@ -423,6 +426,9 @@ public class UserManager {
|
||||
if (e.getClickCount() == 2) {
|
||||
if (ModelUtil.hasLength(contactField.getText())) {
|
||||
ContactItem item = (ContactItem)contactMap.get(contactField.getText());
|
||||
if (item == null) {
|
||||
item = contactField.getSelectedContactItem();
|
||||
}
|
||||
if (item != null) {
|
||||
parent.setGlassPane(glassPane);
|
||||
parent.getGlassPane().setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user