From 3f329182b05c59658201a68f8209a83cf3edcf88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 23 Sep 2019 15:34:04 +0200 Subject: [PATCH] [apps/graph] ValuesController: if the selection change is temporary, we don't need to avoid selecting hid cells --- apps/graph/values/values_controller.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/graph/values/values_controller.cpp b/apps/graph/values/values_controller.cpp index 40af4afe5..28422c999 100644 --- a/apps/graph/values/values_controller.cpp +++ b/apps/graph/values/values_controller.cpp @@ -138,6 +138,9 @@ I18n::Message ValuesController::emptyMessage() { } void ValuesController::tableViewDidChangeSelection(SelectableTableView * t, int previousSelectedCellX, int previousSelectedCellY, bool withinTemporarySelection) { + if (withinTemporarySelection) { + return; + } const int i = selectedColumn(); const int j = selectedRow(); const int numberOfElementsInCol = numberOfElementsInColumn(i);