changeset 4d64152e3bda in sao:5.8
details: https://hg.tryton.org/sao?cmd=changeset&node=4d64152e3bda
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 f11c3afc34f1 -r 4d64152e3bda 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
@@ -1251,7 +1251,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') {

Reply via email to