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

Commit 32b7da0

Browse files
committed
[[ Bug 20882 ]] Ensure pi editors can control multiple props
Previously the value for each prop in a mutiprop editor was being put into an incorrect array key- from the editors point of view the property name is `prop1;prop2`, and the value ought to be an array with keys `prop1` and `prop2`
1 parent 771cdda commit 32b7da0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Toolset/libraries/revidelibrary.8.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ on __readGroupedPropertiesOfControl pGroupsA, @pDataA
13221322
repeat for each key tKey in tPropMappingA
13231323
if the number of items in tKey > 1 then
13241324
repeat for each item tRealProp in tKey
1325-
__fetchPropertyOfControl tRealProp, tDataA[tRealProp]
1325+
__fetchPropertyOfControl tRealProp, tDataA[tKey]
13261326
end repeat
13271327
else
13281328
__fetchPropertyOfControl tKey, tDataA

notes/bugfix-20882.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure PI editors can control multiple props

0 commit comments

Comments
 (0)