ref #8774: update of termtree editor after creating/removing tree