[chronojump/michrolab] Networks sprint is uploaded only if upload button on contacts is active



commit 2d4cc889ec4516f5cac6e0e063214dbf33795dde
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Aug 5 10:55:43 2022 +0200

    Networks sprint is uploaded only if upload button on contacts is active

 src/gui/app1/chronojump.cs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index e1ea7d821..287f6beb6 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -5847,10 +5847,8 @@ public partial class ChronoJumpWindow
 
                        addTreeView_runs_interval_sprint (currentRunInterval, currentRunIntervalType);
 
-                       if(configChronojump.Compujump)
-                       {
+                       if (configChronojump.Compujump && check_contacts_networks_upload.Active)
                                calculateSprintAndUpload();
-                       }
                }
                else if( currentEventExecute.ChronopicDisconnected )
                        chronopicDisconnectedWhileExecuting();


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