use local reference for current target frame as set by JAL-451
[jalview.git] / src / jalview / datamodel / AlignmentAnnotation.java
index 8b9c1fb..236e8ee 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
  * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
@@ -380,7 +380,7 @@ public class AlignmentAnnotation
     {
       this.score = annotation.score;
     }
-    if (threshold != null)
+    if (annotation.threshold != null)
     {
       threshold = new GraphLine(annotation.threshold);
     }