Revision: 11514
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11514&view=rev
Author:   hofman
Date:     2007-11-09 13:03:06 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Invert checks for editability.

Modified Paths:
--------------
    trunk/bibdesk/BDSKBookmarkController.m

Modified: trunk/bibdesk/BDSKBookmarkController.m
===================================================================
--- trunk/bibdesk/BDSKBookmarkController.m      2007-11-09 20:29:24 UTC (rev 
11513)
+++ trunk/bibdesk/BDSKBookmarkController.m      2007-11-09 21:03:06 UTC (rev 
11514)
@@ -492,9 +492,9 @@
 }
 
 - (BOOL)outlineView:(NSOutlineView *)ov shouldEditTableColumn:(NSTableColumn 
*)tableColumn item:(id)item {
-    if ([item bookmarkType] != BDSKBookmarkTypeBookmark)
+    if ([item bookmarkType] == BDSKBookmarkTypeBookmark)
         return YES;
-    else if ([item bookmarkType] != BDSKBookmarkTypeFolder)
+    else if ([item bookmarkType] == BDSKBookmarkTypeFolder)
         return [[tableColumn identifier] isEqualToString:@"name"];
     return NO;
 }


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to