editor: missing widget removal
This commit is contained in:
parent
8b07976f02
commit
fe72309074
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ function updateWidget(widget, options={}) {
|
|||
|
||||
// remove old widgets
|
||||
var removedWidgets = reuseChildren ?
|
||||
removedChildren.map(x => x.getAllChildren()).concat(widget) :
|
||||
removedChildren.map(x => x.getAllChildren().concat(x)).concat(widget) :
|
||||
widget.getAllChildren().concat(widget)
|
||||
|
||||
widgetManager.removeWidgets(removedWidgets)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue