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 <lluis@novell.com>2010-03-22 22:21:37 +0300
committerLluis Sanchez <lluis@novell.com>2010-03-22 22:21:37 +0300
commit8a65c640966c7ce3f62336e637a846a2a486e64b (patch)
treebdcdceef616f6054f6988a9ced1014e5a888e6aa /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parentdf7be8b359d043ecaa6ab00efb8782090739b8d8 (diff)
* MonoDevelop.Ide.Commands/ProjectCommands.cs: Ask before restarting
the execution of the solution. Fixes bug #561693 - Usability issues in debugger commands. svn path=/trunk/monodevelop/; revision=154008
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs
index cbf774b212..bccca94758 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs
@@ -269,6 +269,8 @@ namespace MonoDevelop.Ide.Commands
public static void RunMethod (IExecutionHandler executionHandler)
{
if (!IdeApp.ProjectOperations.CurrentRunOperation.IsCompleted) {
+ if (!MessageService.Confirm (GettextCatalog.GetString ("An application is already running. Do you want to stop it?"), AlertButton.Stop))
+ return;
StopHandler.StopBuildOperations ();
IdeApp.ProjectOperations.CurrentRunOperation.WaitForCompleted ();
}