[escher] ExpressionTableCellWithExpression: make the accessory

expression scrollable and set it as the first responder
This commit is contained in:
Émilie Feral
2019-12-31 10:21:09 +01:00
committed by Léa Saviot
parent 711c4a6554
commit 3806a78141
3 changed files with 9 additions and 3 deletions

View File

@@ -78,8 +78,8 @@ View * NestedMenuController::ListController::view() {
void NestedMenuController::ListController::didBecomeFirstResponder() {
m_selectableTableView->reloadData();
m_selectableTableView->selectCellAtLocation(0, m_firstSelectedRow);
Container::activeApp()->setFirstResponder(m_selectableTableView);
m_selectableTableView->selectCellAtLocation(0, m_firstSelectedRow);
}
void NestedMenuController::ListController::setFirstSelectedRow(int firstSelectedRow) {