Browse Source

Update solution active configuration when SolutionConfigurationEditor dialog is closing [refs #250]

pull/606/head
olegbevz 11 years ago
parent
commit
821c41289a
  1. 9
      src/Main/SharpDevelop/Project/Configuration/SolutionConfigurationEditor.cs

9
src/Main/SharpDevelop/Project/Configuration/SolutionConfigurationEditor.cs

@ -24,6 +24,7 @@ using System.Windows.Forms; @@ -24,6 +24,7 @@ using System.Windows.Forms;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Project;
using System.ComponentModel;
namespace ICSharpCode.SharpDevelop.Project
{
@ -257,5 +258,13 @@ namespace ICSharpCode.SharpDevelop.Project @@ -257,5 +258,13 @@ namespace ICSharpCode.SharpDevelop.Project
UpdateGrid();
}
}
protected override void OnClosing(CancelEventArgs e)
{
// Update solution active configuration when the dialog is closing.
solution.ActiveConfiguration = solutionConfig;
base.OnClosing(e);
}
}
}

Loading…
Cancel
Save