Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2019-05-08 16:52:38 +0300
committerLluis Sanchez <llsan@microsoft.com>2019-05-08 16:53:02 +0300
commiteb2d80b13700e86e69f49f39422dcd2c5197f95d (patch)
tree5b1416dba5a7820e772a981eb2e356240039789b /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
parentdb4b5fa57f7b0332ab9ab6faa96a969d34b426f5 (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/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
index aad67eb4fd..7b54b17dc8 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
@@ -212,7 +212,7 @@ namespace MonoDevelop.Ide.Commands
{
protected override void Run ()
{
- IdeApp.Workbench.ActiveDocument.GetContent<IPrintable> ().PrintDocument (PrintingSettings.Instance);
+ IdeApp.Workbench.ActiveDocument.GetContent<IPrintable> (true).PrintDocument (PrintingSettings.Instance);
}
protected override void Update (CommandInfo info)