diff options
| author | Nathan Dinsmore <nfdins@gmail.com> | 2013-11-26 08:57:47 -0500 |
|---|---|---|
| committer | Nathan Dinsmore <nfdins@gmail.com> | 2013-11-26 09:00:13 -0500 |
| commit | 2871d2ddb6691618103256a3583604dacedd43f0 (patch) | |
| tree | 9499f8226946762239d456df8a61839dd10130cf /blocks.js | |
| parent | df1d6ca4792b9a5b7aadc23b45bf2061a62484df (diff) | |
| download | snap-yow-2871d2ddb6691618103256a3583604dacedd43f0.tar.gz snap-yow-2871d2ddb6691618103256a3583604dacedd43f0.zip | |
Fixed issue #244 (relabelling now preserves empty input slots)
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; }); |
