diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-05-08 16:52:38 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2019-05-08 16:53:02 +0300 |
commit | eb2d80b13700e86e69f49f39422dcd2c5197f95d (patch) | |
tree | 5b1416dba5a7820e772a981eb2e356240039789b /main/src/addins/AspNet | |
parent | db4b5fa57f7b0332ab9ab6faa96a969d34b426f5 (diff) |
Fix scope of GetContent() for several views
Reviewed calls to GetContent and changed several calls to limit the scope
to the current active view.
For ToolboxService, changed the scope to look for provider in all document.
Fixes VSTS #866686 - Xamarin.Forms previewer does not show toolbox content
Diffstat (limited to 'main/src/addins/AspNet')
-rw-r--r-- | main/src/addins/AspNet/WebForms/WebFormsToolboxNode.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/AspNet/WebForms/WebFormsToolboxNode.cs b/main/src/addins/AspNet/WebForms/WebFormsToolboxNode.cs index 0a0ec73240..cb553fe696 100644 --- a/main/src/addins/AspNet/WebForms/WebFormsToolboxNode.cs +++ b/main/src/addins/AspNet/WebForms/WebFormsToolboxNode.cs @@ -129,7 +129,7 @@ namespace MonoDevelop.AspNet.WebForms if (cls == null) return tag; - var ed = document.GetContent<WebFormsEditorExtension> (); + var ed = document.GetContent<WebFormsEditorExtension> (true); if (ed == null) return tag; |