Revision: 6555
http://skim-app.svn.sourceforge.net/skim-app/?rev=6555&view=rev
Author: hofman
Date: 2010-05-21 10:59:34 +0000 (Fri, 21 May 2010)
Log Message:
-----------
can edit page index of bookmark when the page index is not NSNotFound, e.g.
can't edit bookmarks for notes documents
Modified Paths:
--------------
trunk/SKBookmarkController.m
Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m 2010-05-20 17:45:51 UTC (rev 6554)
+++ trunk/SKBookmarkController.m 2010-05-21 10:59:34 UTC (rev 6555)
@@ -716,7 +716,7 @@
if ([tcID isEqualToString:LABEL_COLUMNID])
return [item bookmarkType] != SKBookmarkTypeSeparator;
else if ([tcID isEqualToString:PAGE_COLUMNID])
- return [item bookmarkType] == SKBookmarkTypeBookmark;
+ return [item pageIndex] != NSNotFound;
return NO;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit