From: <ho...@us...> - 2013-01-22 12:58:11
|
Revision: 7916 http://skim-app.svn.sourceforge.net/skim-app/?rev=7916&view=rev Author: hofman Date: 2013-01-22 12:58:05 +0000 (Tue, 22 Jan 2013) Log Message: ----------- allow UI when resolving alias for opening bookmark Modified Paths: -------------- trunk/SKBookmark.m Modified: trunk/SKBookmark.m =================================================================== --- trunk/SKBookmark.m 2013-01-22 10:40:47 UTC (rev 7915) +++ trunk/SKBookmark.m 2013-01-22 12:58:05 UTC (rev 7916) @@ -516,7 +516,8 @@ if (setup) { document = [[NSDocumentController sharedDocumentController] openDocumentWithSetup:[self properties] error:&error]; } else { - NSURL *fileURL = [self fileURL]; + // we allow UI when resolving alias for opening the bookmark, so don't use -fileURL, also consistent with openDocumentWithSetup:error: + NSURL *fileURL = [alias fileURL]; if (fileURL && NO == [fileURL isTrashedFileURL] && (document = [[NSDocumentController sharedDocumentController] openDocumentWithContentsOfURL:fileURL display:YES error:&error]) && [document isPDFDocument] && [self pageIndex] != NSNotFound) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |