From 91e168e4ee4222488674ac42fb168cfe1d646bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 22 Dec 2016 18:05:48 +0100 Subject: [PATCH] [apps/statistics] Fix error: writing title text on editable cells Change-Id: Iac82f14a7e83620a968084489ede27350bfdfdef --- apps/statistics/data_controller.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/statistics/data_controller.cpp b/apps/statistics/data_controller.cpp index f14ff2da6..39d34abd4 100644 --- a/apps/statistics/data_controller.cpp +++ b/apps/statistics/data_controller.cpp @@ -60,6 +60,9 @@ int DataController::reusableCellCount(int type) { void DataController::willDisplayCellAtLocation(TableViewCell * cell, int i, int j) { EditableCellTableViewController::willDisplayCellAtLocation(cell, i, j); + if (cellAtLocationIsEditable(i, j)) { + return; + } EvenOddPointerTextCell * mytitleCell = (EvenOddPointerTextCell *)cell; if (i == 0) { mytitleCell->setText("Valeurs");