editor: error when selecting a tab/root widget while a property field contains unsubmitted changes
This commit is contained in:
parent
6ed1e5e200
commit
38f5881568
3 changed files with 5 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ var handleClick = function(event) {
|
|||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ class UiInspector extends UiWidget {
|
|||
|
||||
if (category) content.appendChild(category)
|
||||
|
||||
this.lock = true
|
||||
|
||||
if (this.mounted) {
|
||||
morph(this.container.firstChild, content)
|
||||
|
|
@ -183,6 +184,7 @@ class UiInspector extends UiWidget {
|
|||
}
|
||||
|
||||
this.mounted = true
|
||||
this.lock = false
|
||||
|
||||
if (this.colorPicker.opened) {
|
||||
|
||||
|
|
@ -195,6 +197,7 @@ class UiInspector extends UiWidget {
|
|||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
onChange(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue