[chronojump] After simulated run simple, ensure graph is shown



commit 5837a28a969ea027294ace3960d612625a977c32
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 12 12:40:09 2021 +0100

    After simulated run simple, ensure graph is shown

 src/gui/app1/chronojump.cs | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index f8288711..91621e10 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4721,6 +4721,11 @@ public partial class ChronoJumpWindow
                else if( currentEventExecute.ChronopicDisconnected )
                        chronopicDisconnectedWhileExecuting();
 
+               //run simple simulated values sometimes does not update the graph, just force it
+               if(currentSession.Name == Constants.SessionSimulatedName &&                     //this 
condition is not needed, but just in case...
+                               ! cp2016.StoredCanCaptureContacts && ! cp2016.StoredWireless) //is simulated
+                       updateGraphRunsSimple();
+
                //stop camera (storing value or not)
                if(currentEventExecute.Cancel || currentRun == null)
                        webcamEnd (Constants.TestTypes.RUN, -1);


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