mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] didChangeCell reload only cells corresponding to the
modified abscissa
This commit is contained in:
committed by
LeaNumworks
parent
cd7071277b
commit
e87a096689
@@ -40,11 +40,11 @@ bool EditableCellTableViewController::textFieldDidFinishEditing(TextField * text
|
||||
* data is reloaded, which means that the right cell is selected but the data
|
||||
* may be incorrect. The data is reloaded afterwards. */
|
||||
if (event == Ion::Events::EXE || event == Ion::Events::OK) {
|
||||
selectableTableView()->selectCellAtLocation(selectedColumn(), selectedRow()+1);
|
||||
selectableTableView()->selectCellAtLocation(column, selectedRow()+1);
|
||||
} else {
|
||||
selectableTableView()->handleEvent(event);
|
||||
}
|
||||
didChangeRow(previousRow);
|
||||
didChangeCell(column, previousRow);
|
||||
if (previousNumberOfElementsInColumn != numberOfElementsInColumn(column)) {
|
||||
// Reload the whole table, if a value was appended.
|
||||
selectableTableView()->reloadData();
|
||||
|
||||
Reference in New Issue
Block a user