mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Remove project from workspace folder on project remove
This commit is contained in:
parent
c5061009ac
commit
c321ef490c
1 changed files with 3 additions and 0 deletions
|
@ -1636,6 +1636,9 @@ namespace IDE.ui
|
|||
listItem.mParentItem.RemoveChildItem(listItem);
|
||||
Project project = projectItem.mProject;
|
||||
|
||||
if (mProjectToWorkspaceFolderMap.GetAndRemove(projectItem) case .Ok((?, let workspaceFolder)))
|
||||
workspaceFolder.mProjects.Remove(project);
|
||||
|
||||
gApp.WithTabs(scope (tab) =>
|
||||
{
|
||||
var sourceViewPanel = tab.mContent as SourceViewPanel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue