Author: pwang
Date: 2010-07-22 16:15:05 -0700 (Thu, 22 Jul 2010)
New Revision: 21002

Modified:
   coreplugins/trunk/QuickFind/src/csplugins/quickfind/util/QuickFindImpl.java
Log:
Bug fixed:0002293: Quick Find is always disabled. 

Modified: 
coreplugins/trunk/QuickFind/src/csplugins/quickfind/util/QuickFindImpl.java
===================================================================
--- coreplugins/trunk/QuickFind/src/csplugins/quickfind/util/QuickFindImpl.java 
2010-07-22 23:09:09 UTC (rev 21001)
+++ coreplugins/trunk/QuickFind/src/csplugins/quickfind/util/QuickFindImpl.java 
2010-07-22 23:15:05 UTC (rev 21002)
@@ -203,7 +203,11 @@
                if (indexType == QuickFind.INDEX_EDGES){
                        _type = "edge";
                }
-               if (cytoscape.data.CyAttributesUtils.isNullAttribute(_type, 
controllingAttribute)){
+               
+               if 
(controllingAttribute.equalsIgnoreCase(QuickFind.UNIQUE_IDENTIFIER)||controllingAttribute.equalsIgnoreCase("biopax.node_label")){
+                       // do nothing
+               }
+               else if 
(cytoscape.data.CyAttributesUtils.isNullAttribute(_type, controllingAttribute)){
                        return null;
                }
                

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