refresh list after correcting a value

This commit is contained in:
Andreas Billmann
2015-12-18 01:47:38 +01:00
parent 941f1b9037
commit 9b8b0080ff
3 changed files with 4 additions and 4 deletions

View File

@@ -264,8 +264,8 @@ public class SmartCSVController extends FXMLController {
@Override
public void handle(TableColumn.CellEditEvent<CSVRow, CSVValue> event) {
event.getTableView().getItems().get(event.getTablePosition().getRow()).
getColumns().get(header).
setValue(event.getNewValue());
getColumns().get(header).setValue(event.getNewValue());
runLater(() -> model.revalidate());
}
});