Making library containers use safe lists

This commit is contained in:
Lars Brubaker 2021-04-29 15:59:57 -07:00
parent 3425b63f98
commit f65c278eb2
21 changed files with 88 additions and 74 deletions

View file

@ -41,8 +41,8 @@ namespace MatterHackers.MatterControl.Library
{
public RootHistoryContainer()
{
this.ChildContainers = new List<ILibraryContainerLink>();
this.Items = new List<ILibraryItem>();
this.ChildContainers = new SafeList<ILibraryContainerLink>();
this.Items = new SafeList<ILibraryItem>();
this.Name = "History".Localize();
}