Merge pull request #51 from TechplexEngineer/patch-1

Make the "seats =" block not deletable.
This commit is contained in:
Neil Fraser
2015-01-28 13:22:50 -08:00

View File

@@ -31,6 +31,7 @@ Blockly.Blocks['plane_set_seats'] = {
this.appendValueInput('VALUE')
.appendField(Plane.getMsg('Plane_setSeats'));
this.setTooltip(Blockly.Msg.VARIABLES_SET_TOOLTIP);
this.setDeletable(false);
}
};