Unverified Commit cf4910a3 authored by chrisgoringe's avatar chrisgoringe Committed by GitHub
Browse files

Prevent hideWidget being called twice for same widget

Fix for #2766
parent 02409c30
...@@ -22,6 +22,7 @@ function isConvertableWidget(widget, config) { ...@@ -22,6 +22,7 @@ function isConvertableWidget(widget, config) {
} }
function hideWidget(node, widget, suffix = "") { function hideWidget(node, widget, suffix = "") {
if (widget.type?.startsWith(CONVERTED_TYPE)) return;
widget.origType = widget.type; widget.origType = widget.type;
widget.origComputeSize = widget.computeSize; widget.origComputeSize = widget.computeSize;
widget.origSerializeValue = widget.serializeValue; widget.origSerializeValue = widget.serializeValue;
......
Markdown is supported
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