From 078d3b3974ddc3dcee9efe51f7d3f54a5385357e Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Mon, 16 Jun 2014 13:47:12 -0400 Subject: [PATCH] Fixed changing variable name in set/change blocks in palette --- src/scratch/BlockMenus.as | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scratch/BlockMenus.as b/src/scratch/BlockMenus.as index 231640b..8947bd4 100644 --- a/src/scratch/BlockMenus.as +++ b/src/scratch/BlockMenus.as @@ -399,7 +399,7 @@ public class BlockMenus implements DragClient { m.addItem('record...', recordSound); showMenu(m); } - + private function recordSound():void { app.setTab('sounds'); app.soundsPart.recordSound(); @@ -694,7 +694,6 @@ public class BlockMenus implements DragClient { if (block.op == Specs.GET_VAR) block.setSpec(newName); } Scratch.app.setSaveNeeded(); - app.updatePalette(); } // ***** Color picker support *****