[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

@@ -15,7 +15,7 @@ ValuesController::ValuesController(Responder * parentResponder, InputEventHandle
m_abscissaTitleCells{},
m_abscissaCells{},
m_functionParameterController(this),
m_intervalParameterController(this, inputEventHandlerDelegate, m_interval),
m_intervalParameterController(this, inputEventHandlerDelegate),
m_derivativeParameterController(this),
m_setIntervalButton(this, I18n::Message::IntervalSet, Invocation([](void * context, void * sender) {
ValuesController * valuesController = (ValuesController *) context;