mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
[apps/calculation] Correct bug: set the right cell first responder
Change-Id: Iafee70a6a3bcf59c60efb4575b044b19fa5c1db4
This commit is contained in:
@@ -61,8 +61,9 @@ bool HistoryController::handleEvent(Ion::Events::Event event) {
|
||||
}
|
||||
|
||||
void HistoryController::tableViewDidChangeSelection(SelectableTableView * t) {
|
||||
m_calculationHistory[t->selectedRow()].setParentResponder(t);
|
||||
app()->setFirstResponder(&m_calculationHistory[t->selectedRow()]);
|
||||
HistoryViewCell * selectedCell = (HistoryViewCell *)(t->selectedCell());
|
||||
selectedCell->setParentResponder(t);
|
||||
app()->setFirstResponder(selectedCell);
|
||||
}
|
||||
|
||||
int HistoryController::numberOfRows() {
|
||||
|
||||
Reference in New Issue
Block a user