Revision: 5521
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5521&view=rev
Author:   hofman
Date:     2009-08-08 11:18:18 +0000 (Sat, 08 Aug 2009)

Log Message:
-----------
don't do unnecessary check

Modified Paths:
--------------
    trunk/SKOutlineView.m
    trunk/SKTableView.m

Modified: trunk/SKOutlineView.m
===================================================================
--- trunk/SKOutlineView.m       2009-08-07 10:04:16 UTC (rev 5520)
+++ trunk/SKOutlineView.m       2009-08-08 11:18:18 UTC (rev 5521)
@@ -152,7 +152,7 @@
         if ([[self delegate] 
respondsToSelector:@selector(outlineView:canDeleteItems:)])
             return [[self delegate] outlineView:self canDeleteItems:items];
         else
-            return [[self delegate] 
respondsToSelector:@selector(outlineView:deleteItems:)];
+            return YES;
     }
     return NO;
 }
@@ -170,7 +170,7 @@
         if ([[self delegate] 
respondsToSelector:@selector(outlineView:canCopyItems:)])
             return [[self delegate] outlineView:self canCopyItems:items];
         else
-            return [[self delegate] 
respondsToSelector:@selector(outlineView:copyItems:)];
+            return YES;
     }
     return NO;
 }

Modified: trunk/SKTableView.m
===================================================================
--- trunk/SKTableView.m 2009-08-07 10:04:16 UTC (rev 5520)
+++ trunk/SKTableView.m 2009-08-08 11:18:18 UTC (rev 5521)
@@ -130,7 +130,7 @@
         if ([[self delegate] 
respondsToSelector:@selector(tableView:canDeleteRowsWithIndexes:)])
             return [[self delegate] tableView:self 
canDeleteRowsWithIndexes:indexes];
         else
-            return [[self delegate] 
respondsToSelector:@selector(tableView:deleteRowsWithIndexes:)];
+            return YES;
     }
     return NO;
 }
@@ -148,7 +148,7 @@
         if ([[self delegate] 
respondsToSelector:@selector(tableView:canCopyRowsWithIndexes:)])
             return [[self delegate] tableView:self 
canCopyRowsWithIndexes:indexes];
         else
-            return [[self delegate] 
respondsToSelector:@selector(tableView:copyRowsWithIndexes:)];
+            return YES;
     }
     return NO;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to