|
@@ -2927,13 +2927,13 @@ extension KMMainViewController {
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- let extract = KMExtractImageWindowController(windowNibName: "KMExtractImageWindowController")
|
|
|
- extract.docPath = fileURL?.path ?? ""
|
|
|
- extract.password = document?.password ?? ""
|
|
|
- extract.currentPage = self.listView.currentPageIndex
|
|
|
+ extract = KMExtractImageWindowController(windowNibName: "KMExtractImageWindowController")
|
|
|
+ extract?.docPath = fileURL?.path ?? ""
|
|
|
+ extract?.password = document?.password ?? ""
|
|
|
+ extract?.currentPage = self.listView.currentPageIndex
|
|
|
// extract.beginSheetModal(for: NSApp.mainWindow!, completionHandler: nil)
|
|
|
- self.km_beginSheet(windowC: extract)
|
|
|
- extract.selectCurrentPageBtn()
|
|
|
+ self.km_beginSheet(windowC: extract!)
|
|
|
+ extract?.selectCurrentPageBtn()
|
|
|
// self.showCreateStamp()
|
|
|
// self.showAddSignature()
|
|
|
}
|