diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-03-20 01:31:47 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2019-03-20 01:31:47 +0300 |
commit | 935f47982ef658566f1b1af36acdd5ca46cdb323 (patch) | |
tree | feafb21d99ed8eda14ca390c2691cb87184daec9 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs | |
parent | 683355b7bbd702f60f27946ea97581302650461f (diff) | |
parent | 40d52a9e69683bf9da9aecaeb6e0a75464dd83cc (diff) |
Merge remote-tracking branch 'origin/master' into new-service-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 02d8da925c..e735c48d29 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs @@ -110,7 +110,7 @@ namespace MonoDevelop.Ide.Commands protected override void Run () { using (var dlg = new NewFileDialog (null, null)) // new file seems to fail if I pass the project IdeApp.ProjectOperations.CurrentSelectedProject - MessageService.ShowCustomDialog (dlg, IdeApp.Workbench.RootWindow); + MessageService.ShowCustomDialog (dlg, DesktopService.GetFocusedTopLevelWindow ()); } } |