diff --git a/src/model/pattern-library/pattern-library.ts b/src/model/pattern-library/pattern-library.ts index 5bc9818a2..a7b18a7b9 100644 --- a/src/model/pattern-library/pattern-library.ts +++ b/src/model/pattern-library/pattern-library.ts @@ -169,6 +169,9 @@ export class PatternLibrary { patternLibrary.getRoot().addChild(folder); patternLibrary.setState(Types.PatternLibraryState.Connected); patternLibrary.setBundle(analysis.bundle); + + patternLibrary.updateSearch(); + return patternLibrary; }