diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-02-20 18:10:48 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2019-02-20 18:10:48 +0300 |
commit | 552d55b304b6abe3cf7e410389daf64e26b75188 (patch) | |
tree | 0ad30a67c3d6d580b17fbbfa5026561ff016f939 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs | |
parent | 7cfc4085396702861c4000d8f1d36e9ba53e3cea (diff) | |
parent | f803f4f8ae5f1df72134d2a3d4e0e157e19b1507 (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.cs | 2 |
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, }; |