JAL-4446 reuse lasteta value
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 7 Aug 2024 14:11:40 +0000 (15:11 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 7 Aug 2024 14:11:40 +0000 (15:11 +0100)
src/jalview/gui/PairwiseAlignPanel.java

index c3085d8..e9b5ffa 100755 (executable)
@@ -277,7 +277,7 @@ public class PairwiseAlignPanel extends GPairwiseAlignPanel
         double lasteta=etime;
         double rate = ((double)(System.currentTimeMillis()-time))/(double)progress;
         etime = rate*(total-progress)/60000;
-        firePropertyChange(ETA, 0,etime);
+        firePropertyChange(ETA, lasteta,etime);
       }
     }
     alignmentScores[count - 1][count - 1] = Float.NaN;