Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f50ab6b

Browse files
committed
Fix #426: Closing solution doesn't remove solution node from ClassBrowser
1 parent 74400d6 commit f50ab6b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Main/Base/Project/Dom/ClassBrowser/SolutionTreeNode.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ namespace ICSharpCode.SharpDevelop.Dom.ClassBrowser
2626
public class SolutionTreeNode : ModelCollectionTreeNode
2727
{
2828
ISolution solution;
29+
ISolutionAssemblyList solutionAssemblyList;
2930

3031
public SolutionTreeNode(ISolutionAssemblyList solutionAssemblyList)
3132
{
3233
if (solutionAssemblyList == null)
3334
throw new ArgumentNullException("solutionAssemblyList");
35+
this.solutionAssemblyList = solutionAssemblyList;
3436
this.solution = solutionAssemblyList.Solution;
3537
}
3638

3739
protected override object GetModel()
3840
{
39-
return solution;
41+
return solutionAssemblyList;
4042
}
4143

4244
public override object Text {

0 commit comments

Comments
 (0)