JAL-2526 additional calls to sequenceChanged() after edits
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 1 Jun 2017 15:43:22 +0000 (16:43 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 1 Jun 2017 15:43:22 +0000 (16:43 +0100)
src/jalview/datamodel/Sequence.java

index 6b460e2..cc4a0dc 100755 (executable)
@@ -543,6 +543,7 @@ public class Sequence extends ASequence implements SequenceI
   {
     this.sequence = seq.toCharArray();
     checkValidRange();
+    sequenceChanged();
   }
 
   @Override
@@ -1171,6 +1172,7 @@ public class Sequence extends ASequence implements SequenceI
     start = newstart;
     end = newend;
     sequence = tmp;
+    sequenceChanged();
   }
 
   @Override
@@ -1201,6 +1203,7 @@ public class Sequence extends ASequence implements SequenceI
     }
 
     sequence = tmp;
+    sequenceChanged();
   }
 
   @Override