mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +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
@@ -223,7 +223,9 @@ void ConsoleController::tableViewDidChangeSelection(SelectableTableView * t, int
|
||||
if (previousSelectedCellY > -1 && previousSelectedCellY < m_consoleStore.numberOfLines()) {
|
||||
// Reset the scroll of the previous cell
|
||||
ConsoleLineCell * previousCell = (ConsoleLineCell *)(t->cellAtLocation(previousSelectedCellX, previousSelectedCellY));
|
||||
previousCell->reloadCell();
|
||||
if (previousCell) {
|
||||
previousCell->reloadCell();
|
||||
}
|
||||
}
|
||||
ConsoleLineCell * selectedCell = (ConsoleLineCell *)(t->selectedCell());
|
||||
selectedCell->reloadCell();
|
||||
|
||||
Reference in New Issue
Block a user