Skip to content

Commit

Permalink
Fix unchecking display variables and attributes not updating tree in …
Browse files Browse the repository at this point in the history
…outlineexplorer
  • Loading branch information
remisalmon committed Oct 31, 2023
1 parent c34ee74 commit d17524f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spyder/plugins/outlineexplorer/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,7 @@ def update_tree(self, items, editor):
if not must_update:
# Compare with current tree to check if it's necessary to update
# it.
changes = tree - current_tree
if tree and len(changes) == 0:
if tree and tree == current_tree:
logger.debug(
f"Current and new trees for file {editor.fname} are the "
f"same, so no update is necessary"
Expand Down

0 comments on commit d17524f

Please sign in to comment.