diff --git a/apps/graph/list/parameter_controller.cpp b/apps/graph/list/parameter_controller.cpp index 36850f4a8..46fbc2735 100644 --- a/apps/graph/list/parameter_controller.cpp +++ b/apps/graph/list/parameter_controller.cpp @@ -4,7 +4,7 @@ ParameterController::ParameterController(Responder * parentResponder) : ViewController(parentResponder), m_colorCell(TableViewCell("Couleur de la fonction")), - m_enableCell(TableViewCell("Activer/Desactiver")), + m_enableCell(SwitchTableViewCell("Activer/Desactiver")), m_deleteCell(TableViewCell("Supprimer la fonction")), m_tableView(TableView(this)), m_activeCell(0) diff --git a/apps/graph/list/parameter_controller.h b/apps/graph/list/parameter_controller.h index 7ca23bcbc..1e6223119 100644 --- a/apps/graph/list/parameter_controller.h +++ b/apps/graph/list/parameter_controller.h @@ -24,7 +24,7 @@ public: private: constexpr static int k_totalNumberOfCell = 3; TableViewCell m_colorCell; - TableViewCell m_enableCell; + SwitchTableViewCell m_enableCell; TableViewCell m_deleteCell; TableView m_tableView; int m_activeCell;