Revision: 3192
Author: terryyiu
Date: Tue Dec  1 14:54:21 2009
Log: Fixing the SearchReplace class to compile, since Folders have been removed.
http://code.google.com/p/power-architect/source/detail?r=3192

Modified:
/branches/sqlobject-spobject-model/src/ca/sqlpower/architect/swingui/SearchReplace.java

=======================================
--- /branches/sqlobject-spobject-model/src/ca/sqlpower/architect/swingui/SearchReplace.java Tue Dec 1 14:21:17 2009 +++ /branches/sqlobject-spobject-model/src/ca/sqlpower/architect/swingui/SearchReplace.java Tue Dec 1 14:54:21 2009
@@ -439,7 +439,7 @@
      * @return
      */
     private boolean searchTypeMatches(SQLObject obj) {
- if (allSearch.isSelected() && !(obj instanceof SQLTable.Folder)) return true;
+        if (allSearch.isSelected()) return true;
if (tableSearch.isSelected() && obj instanceof SQLTable) return true; if (columnSearch.isSelected() && obj instanceof SQLColumn) return true; if (relationshipSearch.isSelected() && obj instanceof SQLRelationship) return true;

Reply via email to