Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replaced by "exit" command with "close solution" command

  • Loading branch information...
commit fcc39c432174e5c8c8623d6ecb878564015bbbf7 1 parent 9d323df
@siegfriedpammer siegfriedpammer authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Main/Base/Project/Src/Project/ProjectChangeWatcher.cs
View
5 src/Main/Base/Project/Src/Project/ProjectChangeWatcher.cs
@@ -6,6 +6,7 @@
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Commands;
using ICSharpCode.SharpDevelop.Gui;
+using ICSharpCode.SharpDevelop.Project.Commands;
namespace ICSharpCode.SharpDevelop.Project
{
@@ -122,11 +123,11 @@ static void MainFormActivated(object sender, EventArgs e)
wasChangedExternally = false;
if (ProjectService.OpenSolution != null) {
- int result = MessageService.ShowCustomDialog(MessageService.DefaultMessageBoxTitle, "${res:ICSharpCode.SharpDevelop.Project.SolutionAlteredExternallyMessage}", 0, 1, "${res:ICSharpCode.SharpDevelop.Project.ReloadSolution}", "${res:ICSharpCode.SharpDevelop.Project.KeepOldSolution}", "${res:ICSharpCode.SharpDevelop.ExceptionBox.ExitSharpDevelop}");
+ int result = MessageService.ShowCustomDialog(MessageService.DefaultMessageBoxTitle, "${res:ICSharpCode.SharpDevelop.Project.SolutionAlteredExternallyMessage}", 0, 1, "${res:ICSharpCode.SharpDevelop.Project.ReloadSolution}", "${res:ICSharpCode.SharpDevelop.Project.KeepOldSolution}", "${res:ICSharpCode.SharpDevelop.Project.CloseSolution}");
if (result == 0)
ProjectService.LoadSolution(ProjectService.OpenSolution.FileName);
else if (result == 2)
- new ExitWorkbenchCommand().Run();
+ new CloseSolution().Run();
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.