[threading] IJPL-192382: Add missing read access in InspectionTree

GitOrigin-RevId: 12bf4cc1729f1e8f74fc845f37be16d814fcb4ce
This commit is contained in:
Konstantin Nisht
2025-06-18 11:07:07 +00:00
committed by intellij-monorepo-bot
parent 881963a0a8
commit e8dc717622
@@ -55,8 +55,8 @@ import javax.swing.event.TreeModelEvent;
import javax.swing.tree.TreePath;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.util.List;
import java.util.*;
import java.util.List;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutionException;
@@ -115,7 +115,7 @@ public final class InspectionTree extends Tree {
expandPath(new TreePath(myModel.getRoot()));
SmartExpander.installOn(InspectionTree.this);
if (!myView.isDisposed()) {
myView.syncRightPanel();
ReadAction.run(() -> myView.syncRightPanel());
}
});
}