|
@@ -504,7 +504,7 @@ extension KMCompareView {
|
|
|
completion(nil)
|
|
|
return
|
|
|
} else {
|
|
|
- KMBaseWindowController.checkPassword(url: NSURL(fileURLWithPath: filePath) as URL, type: .owner) { success, resultPassword in
|
|
|
+ KMBaseWindowController.checkPassword(url: NSURL(fileURLWithPath: filePath) as URL, type: .open) { success, resultPassword in
|
|
|
if success {
|
|
|
let file = KMFileAttribute()
|
|
|
file.pdfDocument = pdfDocument
|