Skip to content

Commit 4a6d439

Browse files
authored
fix: incorrect blockchange firing (#7492)
* BlockChange event disabled * BlockChange event disabled * executed command (npm run format)
1 parent 12ac358 commit 4a6d439

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/block.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,8 +1672,11 @@ export class Block implements IASTNodeLocation, IDeletable {
16721672
}
16731673

16741674
if (json['inputsInline'] !== undefined) {
1675+
eventUtils.disable();
16751676
this.setInputsInline(json['inputsInline']);
1677+
eventUtils.enable();
16761678
}
1679+
16771680
// Set output and previous/next connections.
16781681
if (json['output'] !== undefined) {
16791682
this.setOutput(true, json['output']);

0 commit comments

Comments
 (0)