From 827a6b2e00320a714062575ccf25c7d565ecdd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 30 Apr 2021 13:29:22 +0200 Subject: [PATCH] Do not clear tree_states when loading ids The tree state must be set after loading ids but we can rely on the stored state. issue10366 review361811002 --- src/screen.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 5b870001f2..93cbd116b5 100644 --- a/src/screen.js +++ b/src/screen.js @@ -1291,7 +1291,6 @@ if (set_cursor === undefined) { set_cursor = true; } - this.tree_states = {}; this.tree_states_done = []; this.group.load(ids, modified); if (ids.length && this.current_view.view_type != 'calendar') {