diff options
| author | jmoenig <jens@moenig.org> | 2013-09-16 17:00:10 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-09-16 17:00:10 +0200 |
| commit | d278b2b1507027ead1cf14a901b800dad918484b (patch) | |
| tree | e47f10d147c42643f4a17c2885472a7b22d64aff | |
| parent | 4ad2df7a84e0a2808862e18e2ff2392d24b16e56 (diff) | |
| download | snap-d278b2b1507027ead1cf14a901b800dad918484b.tar.gz snap-d278b2b1507027ead1cf14a901b800dad918484b.zip | |
fixed #115
prevent loading several instances of the same block definition
| -rw-r--r-- | gui.js | 1 | ||||
| -rwxr-xr-x | history.txt | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2808,6 +2808,7 @@ IDE_Morph.prototype.rawOpenBlocksString = function (str, name, silently) { blocks.forEach(function (def) { def.receiver = myself.stage; myself.stage.globalBlocks.push(def); + myself.stage.replaceDoubleDefinitionsFor(def); }); this.flushPaletteCache(); this.refreshPalette(); diff --git a/history.txt b/history.txt index a43793b..32efec2 100755 --- a/history.txt +++ b/history.txt @@ -1904,3 +1904,4 @@ ______ * GUI: getPublicProject adjustments (lowercase username) * GUI: prompt() - invocation fixes (null-choices) * GUI: synchronous URL fetching simplifications for libraries and example projects +* GUI: fixed #115 - prevent loading several instances of the same block definition |
