From abfda7dbce74e9ffeab6cf6745ead088dea5ca8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 7 Oct 2019 13:32:32 +0200 Subject: [PATCH] [apps/shared] ValuesController: fix viewWillAppear, reset memoization before reloading data --- apps/shared/values_controller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/shared/values_controller.cpp b/apps/shared/values_controller.cpp index 70b3b91f1..8dd252be1 100644 --- a/apps/shared/values_controller.cpp +++ b/apps/shared/values_controller.cpp @@ -50,9 +50,10 @@ const char * ValuesController::title() { } void ValuesController::viewWillAppear() { + // Reset memoization before any call to willDisplayCellAtLocation + resetMemoization(); EditableCellTableViewController::viewWillAppear(); header()->setSelectedButton(-1); - resetMemoization(); } void ValuesController::viewDidDisappear() {