Commit cf88bd17 authored by Neil Fraser's avatar Neil Fraser

Merge pull request #51 from TechplexEngineer/patch-1

Make the "seats =" block not deletable.
parents 906b62f7 dd58c2a7
...@@ -31,6 +31,7 @@ Blockly.Blocks['plane_set_seats'] = { ...@@ -31,6 +31,7 @@ Blockly.Blocks['plane_set_seats'] = {
this.appendValueInput('VALUE') this.appendValueInput('VALUE')
.appendField(Plane.getMsg('Plane_setSeats')); .appendField(Plane.getMsg('Plane_setSeats'));
this.setTooltip(Blockly.Msg.VARIABLES_SET_TOOLTIP); this.setTooltip(Blockly.Msg.VARIABLES_SET_TOOLTIP);
this.setDeletable(false);
} }
}; };
......
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