Author: rozagh
Date: 2012-04-27 14:15:20 -0700 (Fri, 27 Apr 2012)
New Revision: 29032

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
Log:
checked the event source by comparing tables, not SUID's

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
   2012-04-27 20:57:27 UTC (rev 29031)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/NetworkViewManager.java
   2012-04-27 21:15:20 UTC (rev 29032)
@@ -537,7 +537,7 @@
                                break;
                        for (JInternalFrame targetIF: iFrameMap.keySet()){
                                
-                               if ( 
iFrameMap.get(targetIF).getModel().getSUID().equals(record.getRow().get(CyNetwork.SUID,
 Long.class))){
+                               if ( 
iFrameMap.get(targetIF).getModel().getDefaultNetworkTable().equals(e.getSource())){
                                        
targetIF.setTitle(record.getRow().get(CyNetwork.NAME, String.class));
                                        return; //assuming just one row is set.
                                }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to