mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[escher] TableView::cellAtLocation should return nullptr if the cell is
invisible and therefore no view displays it. Fix bug: add 4 functions, in the values table one cell is wrong as soon as you edit an x value
This commit is contained in:
committed by
LeaNumworks
parent
f30df04dba
commit
55be86ef50
@@ -91,6 +91,7 @@ void CalculationController::tableViewDidChangeSelection(SelectableTableView * t,
|
||||
/* If the selection stays in the same column, we copy the subselection
|
||||
* from previous cell. Otherwise, the selection has jumped to another
|
||||
* column, we thus subselect the other subcell. */
|
||||
assert(myPreviousCell);
|
||||
firstSubCellSelected = t->selectedColumn() == previousSelectedCellX ? myPreviousCell->firstTextSelected() : !myPreviousCell->firstTextSelected();
|
||||
}
|
||||
myCell->selectFirstText(firstSubCellSelected);
|
||||
|
||||
Reference in New Issue
Block a user