From 66a7583c4cd7abbb1a54fc3778e8d4197d890058 Mon Sep 17 00:00:00 2001 From: Alex Povar Date: Sun, 4 Sep 2016 23:45:57 +0300 Subject: [PATCH] Fix top pane size is not saved on tool close --- ILSpy/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/MainWindow.xaml.cs b/ILSpy/MainWindow.xaml.cs index 1cdfe40ed..48768191a 100644 --- a/ILSpy/MainWindow.xaml.cs +++ b/ILSpy/MainWindow.xaml.cs @@ -849,7 +849,7 @@ namespace ICSharpCode.ILSpy sessionSettings.WindowBounds = this.RestoreBounds; sessionSettings.SplitterPosition = leftColumn.Width.Value / (leftColumn.Width.Value + rightColumn.Width.Value); if (topPane.Visibility == Visibility.Visible) - sessionSettings.BottomPaneSplitterPosition = topPaneRow.Height.Value / (topPaneRow.Height.Value + textViewRow.Height.Value); + sessionSettings.TopPaneSplitterPosition = topPaneRow.Height.Value / (topPaneRow.Height.Value + textViewRow.Height.Value); if (bottomPane.Visibility == Visibility.Visible) sessionSettings.BottomPaneSplitterPosition = bottomPaneRow.Height.Value / (bottomPaneRow.Height.Value + textViewRow.Height.Value); sessionSettings.Save();