File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
extensions/widgets/treeview Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -316,21 +316,22 @@ public handler OnSave(out rProperties as Array)
316316end handler
317317
318318public handler OnLoad(in pProperties as Array)
319- put pProperties["array"] into mData
320319 put pProperties["selected row color"] into mSelectedRowColor
321320 put pProperties["read only"] into mReadOnly
322321
323- if [ "array style"] is in the keys of pProperties then
322+ if "array style" is among the keys of pProperties then
324323 put pProperties["array style"] into mArrayStyle
325324 end if
326325
327- if [ "sort ascending"] is in the keys of pProperties then
326+ if "sort ascending" is among the keys of pProperties then
328327 put pProperties["sort ascending"] into mSortAscending
329328 end if
330329
331- if [ "sort numeric"] is in the keys of pProperties then
330+ if "sort numeric" is among the keys of pProperties then
332331 put pProperties["sort numeric"] into mSortNumeric
333332 end if
333+
334+ setArrayData(pProperties["array"])
334335end handler
335336
336337public handler OnPaint() returns nothing
You can’t perform that action at this time.
0 commit comments