From e0af8fbfb3df32a110bb43a0524e2d7a0babc89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 25 Jul 2019 10:20:22 +0200 Subject: [PATCH] Increase display size when path is also equals to it Length and index are always shifted by 1. issue8506 review273621002 --- src/view/tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/tree.js b/src/view/tree.js index b049e9e800..6062098644 100644 --- a/src/view/tree.js +++ b/src/view/tree.js @@ -747,7 +747,7 @@ return; } path = this.record.get_index_path(this.group); - if (this.rows.length < path[0]) { + if (this.rows.length <= path[0]) { this.display_size = this.group.length; this.display(); }