@@ -162,9 +162,6 @@ public class ComponentGroup: NSView, NibLoadable {
self.windowVC.close()
}
let windowVC = ComponentGroupWindowController.init(windowNibName: "ComponentGroupWindowController")
- if windowVC.window?.isVisible == true {
- leftMouseDownAction()
- }
windowVC.window?.setFrame(screenRect, display: true)
if let window = positioningView?.window {
windowVC.window?.level = window.level + 1
@@ -115,7 +115,6 @@ class KMPDFSideBarController: NSViewController {
annotationItem.setTarget(self, action: #selector(sidebarItemClicked(_ :)))
aiToolItem.setTarget(self, action: #selector(sidebarItemClicked(_ :)))
- aiToolItem.isHidden = true
@@ -526,7 +526,7 @@ class KMPDFToolbarManager: NSObject {
tools_compare_Overlay_Property]
return[tools_OCR_Property, tools_merge_Property, tools_compress_Property, tools_compare_Property,
- tools_extractImage_Property, tools_TTS_Property, tools_batch_Property]
+ tools_extractImage_Property, tools_TTS_Property, tools_batch_Property, tools_AITools_Property]
return []