editor: fix selecting parent widget after deleting a widget
This commit is contained in:
parent
0773a05050
commit
0065dead4b
2 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ var updateWidget = function(widget, options = {}) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!options.preventSelect && editing) {
|
||||
if (!options.preventSelect || editing) {
|
||||
editor.select(newWidget)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue