mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[threading] IJPL-192382: Add missing read access in InspectionTree
GitOrigin-RevId: 12bf4cc1729f1e8f74fc845f37be16d814fcb4ce
This commit is contained in:
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());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user