changeset 70649b570880 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=70649b570880
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
diffstat:

 src/screen.js |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 85c493091c10 -r 70649b570880 src/screen.js
--- a/src/screen.js     Fri Apr 30 09:14:55 2021 +0100
+++ b/src/screen.js     Fri Apr 30 13:29:22 2021 +0200
@@ -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') {

Reply via email to