diff --git a/core/block.ts b/core/block.ts index 25856787440..927d74b0c04 100644 --- a/core/block.ts +++ b/core/block.ts @@ -1672,8 +1672,11 @@ export class Block implements IASTNodeLocation, IDeletable { } if (json['inputsInline'] !== undefined) { + eventUtils.disable(); this.setInputsInline(json['inputsInline']); + eventUtils.enable(); } + // Set output and previous/next connections. if (json['output'] !== undefined) { this.setOutput(true, json['output']);