Browse Source

Merge pull request #606 from olegbevz/master

Update active solution configuration in Solution Configuration Editor
pull/607/head
Matt Ward 12 years ago
parent
commit
47aca73beb
  1. 9
      src/Main/SharpDevelop/Project/Configuration/SolutionConfigurationEditor.cs

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

@ -19,6 +19,7 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using System.Linq; using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
@ -257,5 +258,13 @@ namespace ICSharpCode.SharpDevelop.Project
UpdateGrid(); 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