Close toolbox workspace toolbox when update block library (#610)

This commit is contained in:
Emma Dauterman
2016-08-30 10:59:17 -07:00
committed by picklesrus
parent a1ead192a6
commit 64d34b3cdc

View File

@@ -1248,6 +1248,7 @@ WorkspaceFactoryController.prototype.setBlockLibCategory =
// Update the toolbox and toolboxWorkspace.
this.toolbox.replaceChild(categoryXml, blockLibCategory);
this.toolboxWorkspace.toolbox_.clearSelection();
this.toolboxWorkspace.updateToolbox(this.toolbox);
// Update the block library types.