diff --git a/newIDE/app/src/EventsSheet/InstructionEditor/InstructionEditorDialog.js b/newIDE/app/src/EventsSheet/InstructionEditor/InstructionEditorDialog.js index 41a2ef8bdf68..d26d69706469 100644 --- a/newIDE/app/src/EventsSheet/InstructionEditor/InstructionEditorDialog.js +++ b/newIDE/app/src/EventsSheet/InstructionEditor/InstructionEditorDialog.js @@ -182,6 +182,9 @@ const InstructionEditorDialog = ({ behaviorType: type, parentEditor: 'instruction-editor-dialog', }); + if (scope.layout) { + scope.layout.updateBehaviorsSharedData(project); + } } // Re-choose the same object to force recomputation of chosenObjectInstructionsInfoTree