diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java index 03afe51..627593d 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/TransactionDetails.java @@ -271,7 +271,7 @@ public class TransactionDetails { treeViewer.setInput(object); if(bounds!=null) { TreeItem ti = treeViewer.getTree().getItem (new Point(bounds.x, bounds.y)); - treeViewer.getTree().setTopItem(ti); + if(ti!=null) treeViewer.getTree().setTopItem(ti); } } else { treeViewer.setInput(null);