[escher] Extrude the model in selectable table view controller to its

delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
This commit is contained in:
Émilie Feral
2017-04-28 12:04:24 +02:00
parent b9b06e400b
commit 3f98061a4c
55 changed files with 232 additions and 191 deletions

View File

@@ -7,7 +7,7 @@ ValuesFunctionParameterController::ValuesFunctionParameterController(char symbol
ViewController(nullptr),
m_copyColumn(MessageTableCellWithChevron(I18n::Message::CopyColumnInList)),
m_selectableTableView(SelectableTableView(this, this, 0, 1, Metric::CommonTopMargin, Metric::CommonRightMargin,
Metric::CommonBottomMargin, Metric::CommonLeftMargin)),
Metric::CommonBottomMargin, Metric::CommonLeftMargin, this)),
m_function(nullptr),
m_symbol(symbol)
{
@@ -35,7 +35,7 @@ void ValuesFunctionParameterController::setFunction(Function * function) {
void ValuesFunctionParameterController::didBecomeFirstResponder() {
m_selectableTableView.reloadData();
m_selectableTableView.selectCellAtLocation(0, 0);
selectCellAtLocation(0, 0);
app()->setFirstResponder(&m_selectableTableView);
}