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-03-20 01:31:47 +0300
committerLluis Sanchez <llsan@microsoft.com>2019-03-20 01:31:47 +0300
commit935f47982ef658566f1b1af36acdd5ca46cdb323 (patch)
treefeafb21d99ed8eda14ca390c2691cb87184daec9 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
parent683355b7bbd702f60f27946ea97581302650461f (diff)
parent40d52a9e69683bf9da9aecaeb6e0a75464dd83cc (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.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 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 ());
}
}