mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[escher] Extrude the model in selectable table view controller to its
delegate Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user