Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 629d0b1

Browse files
committed
[21969] Reset the templategroup before creating the tools palette
1 parent 4c964c9 commit 629d0b1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Toolset/palettes/tools/revtools.livecodescript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
script "revTools"
1+
script "revTools" with behavior "revPaletteBehavior"
22
constant BLOCK_SIZE = 20
33

44
constant kToolsColumnCountDefault = 3
@@ -170,6 +170,7 @@ on generatePalette
170170
repeat while there is a group "contents"
171171
delete group "contents"
172172
end repeat
173+
reset the templateGroup
173174
create group "contents"
174175

175176
# Clear the error group

notes/bugfix-21969.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure the templategroup is reset before creating the tools palette

0 commit comments

Comments
 (0)