summaryrefslogtreecommitdiff
path: root/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.js')
-rw-r--r--blocks.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/blocks.js b/blocks.js
index 4890fa1..d5730b6 100644
--- a/blocks.js
+++ b/blocks.js
@@ -2268,6 +2268,7 @@ BlockMorph.prototype.relabel = function (alternativeSelectors) {
menu.addItem(
block,
function () {
+ myself.setCategory(SpriteMorph.prototype.blocks[sel].category);
myself.setSelector(sel);
}
);