Browse Source

Fixed bug where list with errors in the designer was only updated if the document failed to load completely.

pull/53/merge
Tobias Gummesson 12 years ago committed by Siegfried Pammer
parent
commit
374fa8589b
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlDesignContext.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Project/Xaml/XamlDesignContext.cs

@ -86,7 +86,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml @@ -86,7 +86,7 @@ namespace ICSharpCode.WpfDesign.Designer.Xaml
parserSettings.CreateInstanceCallback = this.Services.ExtensionManager.CreateInstanceWithCustomInstanceFactory;
parserSettings.ServiceProvider = this.Services;
_doc = XamlParser.Parse(xamlReader, parserSettings);
if(_doc==null)
loadSettings.ReportErrors(xamlErrorService);
_rootItem = _componentService.RegisterXamlComponentRecursive(_doc.RootElement);

Loading…
Cancel
Save