Skip to content

Commit 5272aca

Browse files
committed
[[ Bug 20385 ]] Fix error in palette actions
This patch ensures that rects are recalculated corectly when setting the data of the palette actions widget. Previousl the rects awere recalculated before the new data was set.
1 parent 2295e2f commit 5272aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/widgets/paletteactions/paletteactions.lcb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use com.livecode.library.widgetutils
2929

3030
metadata title is "Palette Actions"
3131
metadata author is "LiveCode"
32-
metadata version is "1.0.0"
32+
metadata version is "1.0.1"
3333
metadata userVisible is "false"
3434

3535
property navNames get getNavNames set setNavNames
@@ -741,7 +741,7 @@ private handler setData(in pArray as Array, in pDefaultArray as Array, out rList
741741
end if
742742

743743
put tList into rList
744-
recalculateRects()
744+
put true into mRecalculate
745745
redraw all
746746
end handler
747747

0 commit comments

Comments
 (0)