From b99cd21660408f35ef12daf480fd75ca12e5bec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Mon, 28 May 2018 16:10:48 +0200 Subject: [PATCH] [apps/stats] Fix the display of the last empty row in store Before, it appeared when it shouldn't --- apps/shared/store_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shared/store_controller.cpp b/apps/shared/store_controller.cpp index 09645831c..f5bd4971e 100644 --- a/apps/shared/store_controller.cpp +++ b/apps/shared/store_controller.cpp @@ -169,7 +169,7 @@ int StoreController::numberOfElements() { } int StoreController::maxNumberOfElements() const { - return FloatPairStore::k_numberOfSeries * FloatPairStore::k_maxNumberOfPairs; + return FloatPairStore::k_maxNumberOfPairs; } View * StoreController::loadView() {