Small reconnect fix.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@8483 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-06-05 23:08:17 +00:00
committed by derek
parent a0700c73a1
commit b6f7d7a330
4 changed files with 3 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -50,6 +50,9 @@ public class ContactGroupTransferHandler extends TransferHandler {
JList list = (JList)comp;
ContactGroup group = getContactGroup(list);
if(group == null){
return false;
}
if ((group.isSharedGroup() && !flavor[0].equals(DataFlavor.javaFileListFlavor)) || group.isUnfiledGroup() || group.isOfflineGroup() || (!group.hasAvailableContacts() && flavor[0].equals(DataFlavor.javaFileListFlavor))) {
return false;
}