[chronojump] Touch platform -> Cut photocell barrier on races



commit 166aef27dc39e7a2688f0294bb1db8e1a56cf33e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Oct 16 16:52:08 2017 +0200

    Touch platform -> Cut photocell barrier on races

 src/gui/chronopic.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/chronopic.cs b/src/gui/chronopic.cs
index f0729d2..ae71293 100644
--- a/src/gui/chronopic.cs
+++ b/src/gui/chronopic.cs
@@ -120,8 +120,12 @@ public partial class ChronoJumpWindow
                cp2016.FakeButtonContactsRealDone.Clicked +=
                        new EventHandler(on_connection_contacts_real_done);
 
-               cp2016.ConnectContactsReal(app1, crp, numCP,
-                               Catalog.GetString("Please touch the platform or click Chronopic TEST 
button"));
+               string message = Catalog.GetString("Please, touch the platform or click Chronopic TEST 
button.");
+               if(current_menuitem_mode == Constants.Menuitem_modes.RUNSSIMPLE ||
+                               current_menuitem_mode == Constants.Menuitem_modes.RUNSINTERVALLIC)
+                       message = Catalog.GetString("Please, cut photocell barrier or click Chronopic TEST 
button.");
+
+               cp2016.ConnectContactsReal(app1, crp, numCP, message);
        }
 
        private void on_connection_contacts_real_done (object o, EventArgs args)


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