From ffe50985c38585d6a5a2705b147cc858637d6921 Mon Sep 17 00:00:00 2001 From: Emily Cai Date: Thu, 28 Nov 2024 18:31:49 -0500 Subject: [PATCH] fix project manager --- .../OutlineView/ProjectNavigatorOutlineView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorOutlineView.swift b/CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorOutlineView.swift index 5b97d09b2..e2122d298 100644 --- a/CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorOutlineView.swift +++ b/CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorOutlineView.swift @@ -77,7 +77,8 @@ struct ProjectNavigatorOutlineView: NSViewControllerRepresentable { guard let outlineView = controller?.outlineView else { return } for item in updatedItems { - outlineView.reloadItem(item, reloadChildren: true) + controller?.filteredContentChildren.removeAll() + outlineView.reloadData() } }