From 2871d2ddb6691618103256a3583604dacedd43f0 Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Tue, 26 Nov 2013 08:57:47 -0500 Subject: Fixed issue #244 (relabelling now preserves empty input slots) --- blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks.js b/blocks.js index 4dc7ccc..c6ab7cf 100644 --- a/blocks.js +++ b/blocks.js @@ -2256,7 +2256,7 @@ BlockMorph.prototype.restoreInputs = function (oldInputs) { if (old instanceof ReporterBlockMorph) { myself.silentReplaceInput(inp, old.fullCopy()); } else if (old && inp instanceof InputSlotMorph) { - inp.setContents(old.evaluate()); + inp.setContents(old.contents().text); } i += 1; }); -- cgit v1.3.1