|
@@ -4594,7 +4594,7 @@ extension KMMainViewController : KMMainToolbarControllerDelegate {
|
|
|
} else if itemID == KMDocumentScanOCRToolbarItemIdentifier {
|
|
|
showOCRWindow()
|
|
|
} else if itemID == KMDocumentDigitalSignToolbarItemIdentifier {
|
|
|
- if self.listView.document.permissionsStatus != .owner /*!self.pdfView.document!.allowsPrinting || !self.pdfView.document!.allowsCopying*/ {
|
|
|
+ if !self.listView.document!.allowsPrinting || !self.listView.document!.allowsCopying {
|
|
|
let alert = NSAlert()
|
|
|
alert.alertStyle = .critical
|
|
|
alert.messageText = NSLocalizedString("This is a secured document. Editing is not permitted.", comment: "")
|