Kaynağa Gözat

【关闭文档】关闭窗口时,特殊操作导致点击主页无反应 -- 如果遇到未保存的文档 将不会继续往下关闭窗口

lizhe 6 ay önce
ebeveyn
işleme
b9efc4488c

+ 4 - 4
PDF Office/PDF Master/Class/ChromiumTabs/KMBrowser.swift

@@ -246,10 +246,10 @@ import Cocoa
             currentDocument.close()
         }
         
-        if (self.isCloseAllTabViewItem) {
-            self.numberOfTabViewItem = self.numberOfTabViewItem - 1
-            self.closeTabViewItem()
-        }
+//        if (self.isCloseAllTabViewItem) {
+//            self.numberOfTabViewItem = self.numberOfTabViewItem - 1
+//            self.closeTabViewItem()
+//        }
     }
     
     func saveSuccess(_ sender: Any) -> Void {