Browse Source

Fix bug introduced in last commit - return value from ProjectService.FindProjectContainingFile instead of null.

pull/14/head
Matt Ward 15 years ago
parent
commit
5e98f8f577
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.AddIn/Src/AbstractEventHandlerService.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.AddIn/Src/AbstractEventHandlerService.cs

@ -36,7 +36,7 @@ namespace ICSharpCode.WpfDesign.AddIn
IProject FindProjectContainingFile() IProject FindProjectContainingFile()
{ {
if (ProjectService.OpenSolution != null) { if (ProjectService.OpenSolution != null) {
ProjectService.OpenSolution.FindProjectContainingFile(viewContent.PrimaryFileName); return ProjectService.OpenSolution.FindProjectContainingFile(viewContent.PrimaryFileName);
} }
return null; return null;
} }

Loading…
Cancel
Save