|
@@ -2019,15 +2019,15 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
|
|
}
|
|
}
|
|
|
|
|
|
func outlineViewItemDidExpand(_ notification: Notification) {
|
|
func outlineViewItemDidExpand(_ notification: Notification) {
|
|
- if self.tocOutlineView.isEqual(to: notification.object) {
|
|
|
|
- self.updateOutlineSelection()
|
|
|
|
- }
|
|
|
|
|
|
+// if self.tocOutlineView.isEqual(to: notification.object) {
|
|
|
|
+// self.updateOutlineSelection()
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
|
|
func outlineViewItemDidCollapse(_ notification: Notification) {
|
|
func outlineViewItemDidCollapse(_ notification: Notification) {
|
|
- if self.tocOutlineView.isEqual(to: notification.object) {
|
|
|
|
- self.updateOutlineSelection()
|
|
|
|
- }
|
|
|
|
|
|
+// if self.tocOutlineView.isEqual(to: notification.object) {
|
|
|
|
+// self.updateOutlineSelection()
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
|
|
func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation {
|
|
func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation {
|