Revision: 14760
http://sourceforge.net/p/skim-app/code/14760
Author: hofman
Date: 2024-11-28 17:47:55 +0000 (Thu, 28 Nov 2024)
Log Message:
-----------
only makes sense to try unlocking with current document password when it was
(further) unlocked
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2024-11-28 16:36:53 UTC (rev 14759)
+++ trunk/SKMainDocument.m 2024-11-28 17:47:55 UTC (rev 14760)
@@ -1648,7 +1648,7 @@
}
}
}
- if (password == nil && [[self pdfDocument]
respondsToSelector:@selector(passwordUsedForUnlocking)])
+ if (password == nil && [[self pdfDocument]
respondsToSelector:@selector(passwordUsedForUnlocking)] && [[self pdfDocument]
permissionsStatus] > [document permissionsStatus])
password = [[self pdfDocument] passwordUsedForUnlocking];
if (password)
[document unlockWithPassword:password];
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