mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
fix ArrayIndexOutOfBoundsException in Table.insertRow() (fixes #5406)
This commit is contained in:
@@ -2428,8 +2428,10 @@ public class Table {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Need to increment before setRow(), because it calls ensureBounds()
|
||||
// https://github.com/processing/processing/issues/5406
|
||||
++rowCount;
|
||||
setRow(insert, columnData);
|
||||
rowCount++;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user