diff options
| author | Jens Mönig <jens@moenig.org> | 2013-11-26 09:28:44 -0800 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2013-11-26 09:28:44 -0800 |
| commit | e29787cdc70af2f36eeb213c6af766776275eb4d (patch) | |
| tree | 9499f8226946762239d456df8a61839dd10130cf | |
| parent | df1d6ca4792b9a5b7aadc23b45bf2061a62484df (diff) | |
| parent | 2871d2ddb6691618103256a3583604dacedd43f0 (diff) | |
| download | snap-e29787cdc70af2f36eeb213c6af766776275eb4d.tar.gz snap-e29787cdc70af2f36eeb213c6af766776275eb4d.zip | |
Merge pull request #253 from nathandinsmore/issue-244
Fixed issue #244 (relabelling now preserves empty input slots)
| -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; }); |
