Skip to content
Snippets Groups Projects
Commit f78202b3 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

bugfix: after widget close, they can still be mass docked/mass floated

parent 3c1f01b6
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,7 @@ export class WidgetServices{
const widgetRef = [...this.widgetComponentRefs].find(cr=>cr.instance === widgetUnit)
if(widgetRef){
widgetRef.destroy()
this.widgetComponentRefs.delete(widgetRef)
}else{
console.warn('widgetref not found')
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment