[Graph/List] Add a stack controller to handle the parameter page

Change-Id: I7d3f916b2f2ae981bc8cd16b70e6e841e687f2e7
This commit is contained in:
Émilie Feral
2016-09-15 10:04:35 +02:00
committed by Romain Goyet
parent 091fbd8d72
commit 496a10aebd
5 changed files with 29 additions and 7 deletions

View File

@@ -4,9 +4,8 @@ Probability::App::App() :
::App(),
m_lawController(LawController(nullptr)),
m_parametersController(ParametersController(nullptr)),
m_stackViewController(this)
m_stackViewController(this, &m_lawController)
{
m_stackViewController.push(&m_lawController);
}
void Probability::App::setLaw(Law l) {