diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2017-03-25 03:01:05 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2017-03-25 03:01:05 +0300 |
commit | c07bb87792ee9f42467651f52c7fac85c6172f11 (patch) | |
tree | 90e9cdba6ffa52dc4cc638bca93bb950d9b92e6c /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem | |
parent | 96750c88c5a7dacc7f60120d17b84aac443cbe28 (diff) |
[Ide] Don't save project after cancelling New File dialog
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/MonoDevelopWorkspace.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/MonoDevelopWorkspace.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/MonoDevelopWorkspace.cs index ffd35b82f1..b9d26c2390 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/MonoDevelopWorkspace.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/MonoDevelopWorkspace.cs @@ -1095,7 +1095,7 @@ namespace MonoDevelop.Ide.TypeSystem List<Task> tryApplyState_documentTextChangedTasks = new List<Task> ();
Dictionary<string, SourceText> tryApplyState_documentTextChangedContents = new Dictionary<string, SourceText> ();
- internal override bool TryApplyChanges (Solution newSolution, IProgressTracker progressTracker)
+ public override bool TryApplyChanges (Solution newSolution)
{
// this is supported on the main thread only
// see https://github.com/dotnet/roslyn/pull/18043
@@ -1103,7 +1103,7 @@ namespace MonoDevelop.Ide.TypeSystem Runtime.AssertMainThread ();
try {
- var ret = base.TryApplyChanges (newSolution, progressTracker);
+ var ret = base.TryApplyChanges (newSolution);
if (tryApplyState_documentTextChangedTasks.Count > 0) {
Task.WhenAll (tryApplyState_documentTextChangedTasks).ContinueWith (t => {
|