From eb53458ceff17b79d613ec208b5185f541eb6320 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 29 Apr 2010 15:02:42 +0000 Subject: [PATCH] property change race condition (bug 0062693) and isAligned assertion (bug 0008144) --- src/jalview/gui/TreePanel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/TreePanel.java b/src/jalview/gui/TreePanel.java index c6d87d7..646cbb4 100755 --- a/src/jalview/gui/TreePanel.java +++ b/src/jalview/gui/TreePanel.java @@ -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) { -- 1.7.10.2