[chronojump] Fixed not showing countdown message on RSA since double contacts biggest contact



commit 8f3ff544b1b2a3cd5332a588c42caf100de14947
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Mar 2 12:50:26 2022 +0100

    Fixed not showing countdown message on RSA since double contacts biggest contact

 src/execute/run.cs | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 065ac1ac4..bfb80e526 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -15,7 +15,7 @@
  *  along with this program; if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * Copyright (C) 2004-2021   Xavier de Blas <xaviblas gmail com>
+ * Copyright (C) 2004-2022   Xavier de Blas <xaviblas gmail com>
  */
 
 using System;
@@ -501,8 +501,6 @@ LogB.Information("going to call photocellWirelessCapture.CaptureStart ()");
                                                        lastTc = timestamp / 1000.0;
 
                                                runPTL.AddTC(photocell, timestamp);
-
-                                               onlyInterval_SetRSAVariables();
                                        }
 
                                        runPhase = runPhases.RUNNING;
@@ -1126,10 +1124,13 @@ public class RunIntervalExecute : RunExecute
                //put button_finish as sensitive when first jump is done (there's something recordable)
                if(tracks == 1)
                        needSensitiveButtonFinish = true;
+
+               onlyInterval_SetRSAVariables();
        }
 
 
-       protected override string countDownMessage() {
+       protected override string countDownMessage()
+       {
                double waitSeconds = Util.GetRunIVariableDistancesThisRowIsRSA(distancesString, 
Convert.ToInt32(tracks))
                         - (timerCount - Util.GetTotalTime(intervalTimesString) - lastTc);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]