changeset a4b2234ca214 in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset&node=a4b2234ca214
description:
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
(grafted from 70649b570880ea83410d5c243a26b709e13bebbf)
diffstat:
src/screen.js | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r e4c528f1c6b4 -r a4b2234ca214 src/screen.js
--- a/src/screen.js Thu Apr 22 00:07:18 2021 +0200
+++ b/src/screen.js Fri Apr 30 13:29:22 2021 +0200
@@ -1128,7 +1128,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') {