diff --git a/src/main/java/com/redhat/devtools/intellij/common/tree/MutableModelSynchronizer.java b/src/main/java/com/redhat/devtools/intellij/common/tree/MutableModelSynchronizer.java index d5b209e..f056c6b 100644 --- a/src/main/java/com/redhat/devtools/intellij/common/tree/MutableModelSynchronizer.java +++ b/src/main/java/com/redhat/devtools/intellij/common/tree/MutableModelSynchronizer.java @@ -45,8 +45,9 @@ private void invalidatePath(Supplier pathSupplier) { } if (path.getLastPathComponent() == treeModel.getRoot()) { invalidateRoot(); + } else { + treeModel.invalidate(path, true); } - treeModel.invalidate(path, true); }); }