Skip to content

Commit

Permalink
dont refresh root if refreshing node
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish committed Sep 21, 2023
1 parent 6ea400b commit 851dded
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ private void invalidatePath(Supplier<TreePath> pathSupplier) {
}
if (path.getLastPathComponent() == treeModel.getRoot()) {
invalidateRoot();
} else {
treeModel.invalidate(path, true);
}
treeModel.invalidate(path, true);
});
}

Expand Down

0 comments on commit 851dded

Please sign in to comment.