property change race condition (bug 0062693) and isAligned assertion (bug 0008144)
authorjprocter <Jim Procter>
Thu, 29 Apr 2010 15:02:42 +0000 (15:02 +0000)
committerjprocter <Jim Procter>
Thu, 29 Apr 2010 15:02:42 +0000 (15:02 +0000)
src/jalview/gui/TreePanel.java

index c6d87d7..646cbb4 100755 (executable)
@@ -141,6 +141,8 @@ public class TreePanel extends GTreePanel
           if (tree == null)
           {
             System.out.println("tree is null");
+            // TODO: deal with case when a change event is received whilst a tree is still being calculated - should save reference for processing message later.
+            return;
           }
           if (evt.getNewValue() == null)
           {