diff --git a/src/containers/custom-procedures.jsx b/src/containers/custom-procedures.jsx index 11ee4d3570bc99e725e7398842b80b46852d90cf..8fcf8cb93f974fb8482c45905e666eaa35fc8346 100644 --- a/src/containers/custom-procedures.jsx +++ b/src/containers/custom-procedures.jsx @@ -39,8 +39,9 @@ class CustomProcedures extends React.Component { // Create the procedure declaration block for editing the mutation. this.mutationRoot = this.workspace.newBlock('procedures_declaration'); - // Make the declaration fixed and have no context menu + // Make the declaration immovable, undeletable and have no context menu this.mutationRoot.setMovable(false); + this.mutationRoot.setDeletable(false); this.mutationRoot.contextMenu = false; this.workspace.addChangeListener(() => {