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



commit fa5714712016ec0d18df7dc2a0b68e03541a9c7f
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]