[apps] IntervalParameterController::m_interval is set right before the controller appears

and not at controller's construction.
This commit is contained in:
Ruben Dashyan
2019-09-03 15:48:26 +02:00
parent 897b69709e
commit 7ef63f2c61
7 changed files with 16 additions and 7 deletions

View File

@@ -86,6 +86,7 @@ bool ValuesController::handleEvent(Ion::Events::Event event) {
ViewController * parameterController = nullptr;
if (typeAtLocation(selectedColumn(), 0) == k_abscissaTitleCellType) {
m_abscissaParameterController.setPageTitle(valuesParameterControllerPageTitle());
intervalParameterController()->setInterval(m_interval);
parameterController = &m_abscissaParameterController;
} else {
parameterController = functionParameterController();