|
@@ -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
|