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

Commit 2aad3d0

Browse files
committed
Fix #486: ISolution.StartupProjectChanged event is fired with wrong sender.
1 parent 94e2619 commit 2aad3d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Main/SharpDevelop/Project/Solution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected override void OnCollectionChanged(IReadOnlyCollection<IProject> remove
194194
foreach (var project in removedItems)
195195
project.Dispose();
196196
if (startupProjectWasRemoved || (solution.startupProject == null && addedItems.Contains(solution.AutoDetectStartupProject())))
197-
solution.StartupProjectChanged(this, EventArgs.Empty);
197+
solution.StartupProjectChanged(solution, EventArgs.Empty);
198198
}
199199
}
200200

0 commit comments

Comments
 (0)