This commit is contained in:
Dmitry Trofimov
2014-11-05 16:19:38 +01:00
parent ef1a7017ad
commit 1e2b1a981c
2 changed files with 2 additions and 2 deletions
@@ -144,7 +144,7 @@ public class AsyncArrayTableModel extends AbstractTableModel {
return myRows;
}
public void forcedChange(int row, int col, Object value) {
public void changeValue(int row, int col, Object value) {
Future<Object[][]> chunk = myChunkCache.getIfPresent(itemToChunkKey(row, col));
if (chunk != null && chunk.isDone()) {
try {
@@ -514,7 +514,7 @@ public class NumpyArrayTable {
protected void run(@NotNull Result result) throws Throwable {
if (getEditor().getEditor() != null) {
getEditor().getEditor().getDocument().setText(corrected);
((AsyncArrayTableModel)myTable.getModel()).forcedChange(row, col, corrected);
((AsyncArrayTableModel)myTable.getModel()).changeValue(row, col, corrected);
cancelEditing();
}
}