[apps/shared] In values controller, update the number of columns when

layout is done

Change-Id: I29bc776623ff2e5056c9f2cc1d995b4440996116
This commit is contained in:
Émilie Feral
2017-06-07 10:44:14 +02:00
parent d28a9e4664
commit bf11591e3e
12 changed files with 37 additions and 44 deletions

View File

@@ -25,7 +25,6 @@ bool FunctionParameterController::handleEvent(Ion::Events::Event event) {
case 0:
{
m_cartesianFunction->setDisplayDerivative(!m_cartesianFunction->displayDerivative());
m_valuesController->updateNumberOfColumns();
if (m_cartesianFunction->displayDerivative()) {
m_valuesController->selectCellAtLocation(m_valuesController->selectedColumn()+1, m_valuesController->selectedRow());
}