mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
readaction
This commit is contained in:
@@ -225,7 +225,11 @@ public class SliceNode extends AbstractTreeNode<SliceUsage> implements Duplicate
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getValue()==null?"<null>":getValue().toString();
|
||||
return ApplicationManager.getApplication().runReadAction(new Computable<String>() {
|
||||
public String compute() {
|
||||
return getValue()==null?"<null>":getValue().toString();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user