readaction

This commit is contained in:
Alexey Kudravtsev
2011-11-29 18:10:14 +04:00
parent 87b81f7645
commit 5b772eedf6
@@ -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();
}
});
}
}