Browse Source

Options dialog now saving its location and window bounds in configuration.

pull/24/merge
Andreas Weizel 13 years ago committed by Daniel Grunwald
parent
commit
99bc016bc7
  1. 3
      src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs

3
src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs

@ -30,6 +30,9 @@ namespace ICSharpCode.SharpDevelop.Gui
if (optionPanels == null) if (optionPanels == null)
throw new ArgumentNullException("optionPanels"); throw new ArgumentNullException("optionPanels");
InitializeComponent(); InitializeComponent();
ICSharpCode.SharpDevelop.Gui.FormLocationHelper.ApplyWindow(this, "TreeViewOptionsDialog.WindowBounds", true);
var list = optionPanels.Select(op => new OptionPanelNode(op, this)).ToList(); var list = optionPanels.Select(op => new OptionPanelNode(op, this)).ToList();
treeView.ItemsSource = list; treeView.ItemsSource = list;
if (list.Count > 0) { if (list.Count > 0) {

Loading…
Cancel
Save