From 99bc016bc7f356cbe3db58f8853ec98bc70e25de Mon Sep 17 00:00:00 2001 From: Andreas Weizel Date: Sat, 26 May 2012 18:06:38 +0200 Subject: [PATCH] Options dialog now saving its location and window bounds in configuration. --- .../Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs b/src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs index e85f02c99f..f32dcb0b1e 100644 --- a/src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs +++ b/src/Main/Base/Project/Src/Gui/Dialogs/TreeViewOptionsDialog.xaml.cs @@ -30,6 +30,9 @@ namespace ICSharpCode.SharpDevelop.Gui if (optionPanels == null) throw new ArgumentNullException("optionPanels"); InitializeComponent(); + + ICSharpCode.SharpDevelop.Gui.FormLocationHelper.ApplyWindow(this, "TreeViewOptionsDialog.WindowBounds", true); + var list = optionPanels.Select(op => new OptionPanelNode(op, this)).ToList(); treeView.ItemsSource = list; if (list.Count > 0) {