Cell changes should also flush column precomputes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@267 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
0160b6841d
commit
6bf5418f9d
@ -24,10 +24,14 @@ public class CellChange implements Change {
|
||||
|
||||
public void apply(Project project) {
|
||||
project.rows.get(row).setCell(cellIndex, newCell);
|
||||
|
||||
project.columnModel.getColumnByCellIndex(cellIndex).clearPrecomputes();
|
||||
}
|
||||
|
||||
public void revert(Project project) {
|
||||
project.rows.get(row).setCell(cellIndex, oldCell);
|
||||
|
||||
project.columnModel.getColumnByCellIndex(cellIndex).clearPrecomputes();
|
||||
}
|
||||
|
||||
public void save(Writer writer, Properties options) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user