Library treeview should always be rooted to RootLibraryContainer
- Issue MatterHackers/MCCentral#4346 Empty Library treeview
This commit is contained in:
parent
f303f5fc5c
commit
55155f647c
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
|
|||
|
||||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
foreach (var item in ApplicationController.Instance.Library.ActiveContainer.ChildContainers)
|
||||
foreach (var item in ApplicationController.Instance.Library.RootLibaryContainer.ChildContainers)
|
||||
{
|
||||
var rootNode = this.CreateTreeNode(item);
|
||||
rootNode.TreeView = treeView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue