mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 13:38:23 +02:00
bugfix: NPE when adding new row as the setValue has to be called at the end, after all other properties are set
This commit is contained in:
@@ -81,9 +81,9 @@ public class CSVRow {
|
||||
public void addValue(String column, String value) {
|
||||
CSVValue v = new CSVValue();
|
||||
v.setValidator(validator);
|
||||
v.setValue(value);
|
||||
v.setColumn(column);
|
||||
v.setRowNumber(rowNumber);
|
||||
v.setValue(value);
|
||||
columns.put(column, new SimpleObjectProperty<>(v));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user