Author: kono
Date: 2012-07-31 16:04:06 -0700 (Tue, 31 Jul 2012)
New Revision: 30055

Modified:
   
core3/impl/trunk/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTable.java
Log:
fixes #1330 UpdateView will be called only once for cell selections.

Modified: 
core3/impl/trunk/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTable.java
===================================================================
--- 
core3/impl/trunk/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTable.java
  2012-07-31 22:58:56 UTC (rev 30054)
+++ 
core3/impl/trunk/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTable.java
  2012-07-31 23:04:06 UTC (rev 30055)
@@ -224,13 +224,13 @@
 
                                if (val != null && (val == true))
                                        row.set(CyNetwork.SELECTED, false);
-
-                               final CyNetworkView curView = 
applicationManager.getCurrentNetworkView();
-                               if (curView != null) {
-                                       eventHelper.flushPayloadEvents();
-                                       curView.updateView();
-                               }
                        }
+                       
+                       final CyNetworkView curView = 
applicationManager.getCurrentNetworkView();
+                       if (curView != null) {
+                               eventHelper.flushPayloadEvents();
+                               curView.updateView();
+                       }
                }
        }
 

-- 
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