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-02-20 18:10:48 +0300
committerLluis Sanchez <llsan@microsoft.com>2019-02-20 18:10:48 +0300
commit552d55b304b6abe3cf7e410389daf64e26b75188 (patch)
tree0ad30a67c3d6d580b17fbbfa5026561ff016f939 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
parent7cfc4085396702861c4000d8f1d36e9ba53e3cea (diff)
parentf803f4f8ae5f1df72134d2a3d4e0e157e19b1507 (diff)
Merge branch 'new-service-model' into new-doc-model
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 414a354ff8..48d067d554 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
@@ -82,7 +82,7 @@ namespace MonoDevelop.Ide.Commands
protected override void Run ()
{
var dlg = new OpenFileDialog (GettextCatalog.GetString ("File to Open"), MonoDevelop.Components.FileChooserAction.Open) {
- TransientFor = IdeApp.Workbench.RootWindow,
+ TransientFor = IdeServices.DesktopService.GetFocusedTopLevelWindow (),
ShowEncodingSelector = true,
ShowViewerSelector = true,
};