From: <ho...@us...> - 2018-03-04 15:50:08
|
Revision: 9707 http://sourceforge.net/p/skim-app/code/9707 Author: hofman Date: 2018-03-04 15:13:29 +0000 (Sun, 04 Mar 2018) Log Message: ----------- disable skimped for locked documents Modified Paths: -------------- trunk/SkimNotes/skimpdf.m Modified: trunk/SkimNotes/skimpdf.m =================================================================== --- trunk/SkimNotes/skimpdf.m 2018-03-04 13:20:02 UTC (rev 9706) +++ trunk/SkimNotes/skimpdf.m 2018-03-04 15:13:29 UTC (rev 9707) @@ -197,7 +197,7 @@ static inline BOOL SKNValidateDocument(PDFDocument *pdfDoc, NSInteger action) { if (pdfDoc == nil) return NO; - if ([pdfDoc allowsPrinting] == NO) + if ([pdfDoc isLocked] || [pdfDoc allowsPrinting] == NO) return NO; if (action == SKNActionEmbed || action == SKNActionUnembed) return YES; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |