Fix display of integer arrays

In e0aae02, the `++` was dropped from the index reference in this loop, but
that means the first item on each row of an integer array is incorrectly
repeated.

Restore the ++ so the array index is incremented across the line.
This commit is contained in:
Matthew Duggan
2026-09-22 20:43:04 +10:00
committed by dragonmacher
parent ce80e056b8
commit d817b07388

View File

@@ -102,7 +102,7 @@ public class ArrayValuesFieldFactory extends FieldFactory {
List<FieldElement> elements = new ArrayList<>();
for (int i = 0; i < itemCount; i++) {
Data child = parent.getComponent(index);
Data child = parent.getComponent(index++);
boolean isLastItem = isLastLine && (i == itemCount - 1);
String value = getDisplayValue(child, !isLastItem);
AttributedString as =