[chronojump] RSA tests cannot be simulated



commit 9e805a45f409eae3225caab5298e3419f12cdfbe
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Jul 23 13:32:00 2014 +0200

    RSA tests cannot be simulated

 src/gui/chronojump.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 7457ec6..58c4dc0 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3534,6 +3534,13 @@ Console.WriteLine("X");
                        on_normal_run_activate(o, args);
                }
                else if(radio_mode_runs_intervallic_small.Active) {
+                       //RSA runs cannot be simulated because it's complicated to manage the countdown 
event...
+                       if(currentRunIntervalType.IsRSA && !chronopicWin.Connected) {
+                               new DialogMessage(Constants.MessageTypes.WARNING, 
+                                               Catalog.GetString("Sorry, RSA tests cannot be simulated."));
+                               return;
+                       }
+
                        extra_window_runs_interval_distance = (double) 
extra_window_runs_interval_spinbutton_distance.Value;
                        extra_window_runs_interval_limit = extra_window_runs_interval_spinbutton_limit.Value;
                        


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