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

Commit a82ab7e

Browse files
committed
[Bug 21379] [NavBar PI] Fix setting an itemName when more than 9 items
1 parent 9bc5257 commit a82ab7e

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Toolset/palettes/inspector/editors/com.livecode.pi.editorlist.behavior.livecodescript

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
script "com.livecode.pi.editorList.behavior"
1+
script "com.livecode.pi.editorList.behavior" with behavior "revInspectorEditorBehavior"
22
local sNumChildren
33

44
constant kComponentSpacing = 6
@@ -117,7 +117,15 @@ on editorValueChanged
117117
repeat with x =1 to sNumChildren
118118
put the editorValue of group ("editor" & x) of me into tValueArray[x]
119119
end repeat
120-
combine tValueArray with tDelimiter
121-
set the editorValue of me to tValueArray
120+
121+
// TODO: Use 'combine tValueArray with tDelimiter' once we add sorting option to combine
122+
// See bug 9344
123+
local tList
124+
repeat for each element tElement in tValueArray
125+
put tElement & tDelimiter after tList
126+
end repeat
127+
delete char -1 of tList
128+
set the editorValue of me to tList
129+
122130
dispatch "updateProperty"
123131
end editorValueChanged

0 commit comments

Comments
 (0)