Browse Source

【UI替换】编辑工具 - 压缩文件名称不一致修复

lizhe 1 year ago
parent
commit
271847083e

+ 5 - 5
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift

@@ -2032,12 +2032,12 @@ extension KMMainViewController {
         let windowController = KMCompressWIndowControllerNew(windowNibName: "KMCompressWIndowControllerNew")
         self.view.window?.beginSheet(windowController.window!)
         self.currentWindowController = windowController
-        if let _url = url {
-            windowController.documentURL = _url
-            windowController.oriDocumentUrl = self.listView.document.documentURL
-        } else {
+//        if let _url = url {
+//            windowController.oriDocumentUrl = self.listView.document.documentURL
+//            windowController.documentURL = _url
+//        } else {
             windowController.documentURL = self.listView.document.documentURL
-        }
+//        }
         windowController.password = self.listView.document.password
         
         windowController.itemClick = { [weak self] in