editor: error when selecting a tab/root widget while a property field contains unsubmitted changes

This commit is contained in:
bordun 2020-09-21 22:01:12 +02:00
parent 6ed1e5e200
commit 38f5881568
3 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,7 @@
- bug fixes
- editor: hide impossible actions from context-menu (eg adding widgets in tab containers)
- editor: error when selecting a tab/root widget while a property field contains unsubmitted changes
- panel: layout issue with tabs & lineWidth property
- midi

View file

@ -205,7 +205,7 @@ var handleClick = function(event) {
})
}
}

View file

@ -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) {