mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared/editable_cell_table_view_controller] Assert cell is not being edited before setEven
This commit is contained in:
@@ -66,9 +66,7 @@ void EditableCellTableViewController::willDisplayCellAtLocationWithDisplayMode(H
|
||||
// The cell is editable
|
||||
if (cellAtLocationIsEditable(i, j)) {
|
||||
EvenOddEditableTextCell * myEditableValueCell = (EvenOddEditableTextCell *)cell;
|
||||
if (myEditableValueCell->editableTextCell()->textField()->isEditing()) {
|
||||
return;
|
||||
}
|
||||
assert(!myEditableValueCell->editableTextCell()->textField()->isEditing());
|
||||
myCell->setEven(j%2 == 0);
|
||||
char buffer[PrintFloat::bufferSizeForFloatsWithPrecision(Preferences::LargeNumberOfSignificantDigits)];
|
||||
// Special case 1: last row
|
||||
|
||||
Reference in New Issue
Block a user