Browse Source

#1803: Make sure that the assembly list is always restored.

pull/1820/head
Siegfried Pammer 6 years ago
parent
commit
23a9bc6097
  1. 5
      ILSpy/Docking/DockWorkspace.cs
  2. 2
      ILSpy/MainWindow.xaml.cs

5
ILSpy/Docking/DockWorkspace.cs

@ -102,6 +102,11 @@ namespace ICSharpCode.ILSpy.Docking @@ -102,6 +102,11 @@ namespace ICSharpCode.ILSpy.Docking
}
}
internal void EnsureUnclosablePanes()
{
ToolPanes.Add(AssemblyListPaneModel.Instance);
}
protected void RaisePropertyChanged([CallerMemberName] string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));

2
ILSpy/MainWindow.xaml.cs

@ -134,6 +134,8 @@ namespace ICSharpCode.ILSpy @@ -134,6 +134,8 @@ namespace ICSharpCode.ILSpy
serializer.LayoutSerializationCallback -= DockWorkspace.Instance.LayoutSerializationCallback;
}
DockWorkspace.Instance.EnsureUnclosablePanes();
sessionSettings.FilterSettings.PropertyChanged += filterSettings_PropertyChanged;
InitMainMenu();

Loading…
Cancel
Save