mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[escher][apps] SelectableTableViewDelegate: add
tableViewDidChangeSelectionAndDidScroll method and implement it for Calculation::HistoryController This fixes the following bug: In the calculation application, input 1, OK, 1/2/3/4/5/6/7/8, OK, up, up, left, down, up. The selection failed.
This commit is contained in:
@@ -102,6 +102,10 @@ bool SelectableTableView::selectCellAtLocation(int i, int j, bool setFirstRespon
|
||||
scrollToCell(selectedColumn(), selectedRow());
|
||||
}
|
||||
|
||||
if (m_delegate) {
|
||||
m_delegate->tableViewDidChangeSelectionAndDidScroll(this, previousX, previousY, withinTemporarySelection);
|
||||
}
|
||||
|
||||
HighlightCell * cell = selectedCell();
|
||||
if (cell) {
|
||||
// Update first responder
|
||||
|
||||
Reference in New Issue
Block a user