clone: hot fix @MartinHN #395
This commit is contained in:
parent
09881ed02e
commit
92d7245a58
2 changed files with 2 additions and 5 deletions
|
|
@ -44,6 +44,8 @@ class Clone extends Container {
|
|||
// global listenner to catch cloneTarget's creation if no target is locked
|
||||
widgetManager.on('widget-created', (e)=>{
|
||||
|
||||
if (this.cloneTarget) return
|
||||
|
||||
var {id, widget} = e
|
||||
|
||||
if (id === this.getProp('widgetId') && this.isValidCloneTarget(widget)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue