[apps/sequence/list] Change the list parameter to controller to the one

specific to sequence app

Change-Id: I879a8cb42231bba2a2607953d1e4808aafa463d9
This commit is contained in:
Émilie Feral
2017-02-08 17:12:20 +01:00
parent 0a135fe7d7
commit 200364e9d9
4 changed files with 9 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ using namespace Shared;
namespace Sequence {
SequenceTitleCell::SequenceTitleCell(Responder * parentResponder, Shared::ListParameterController * listParameterController) :
SequenceTitleCell::SequenceTitleCell(Responder * parentResponder, ListParameterController * listParameterController) :
SequenceCell(parentResponder),
m_backgroungCell(FunctionTitleCell(FunctionTitleCell::Orientation::VerticalIndicator)),
m_definitionView(KDText::FontSize::Large, 0.5f, 0.5f),
@@ -76,7 +76,7 @@ bool SequenceTitleCell::handleEvent(Ion::Events::Event event) {
}
if (event == Ion::Events::OK) {
StackViewController * stack = stackController();
m_listParameterController->setFunction(m_sequence);
m_listParameterController->setSequence(m_sequence);
stack->push(m_listParameterController);
SelectableTableView * table = (SelectableTableView *)parentResponder();
table->dataHasChanged(true);