Browse Source

【合并】将文档添加至合并列表,点击右下角的添加按钮,若之前勾选过【保存后打开文档】,这时是默认勾选的,点击存储,文档没有自动打开 -- 修复

lizhe 11 months ago
parent
commit
ebfb1ad157

+ 1 - 0
PDF Office/PDF Master/Class/PDFTools/Merge/OCPart/KMSavePanelAccessoryController.swift

@@ -29,6 +29,7 @@ class KMSavePanelAccessoryController: NSViewController {
         openAutomaticButton.title = NSLocalizedString("Open the document after saving", comment: "")
         let autoOpen = KMDataManager.ud_bool(forKey: KMAutoOpenDocumentKey)
         openAutomaticButton.state = autoOpen ? .on : .off
+        _needOpen = autoOpen
     }
 
     @IBAction func buttonClickedOpenAutomatic(_ sender: NSButton) {