[chronojump] Added reCGSD == null checks on raceAnalyzer capture graphs
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added reCGSD == null checks on raceAnalyzer capture graphs
- Date: Fri, 11 Feb 2022 15:24:29 +0000 (UTC)
commit b1a2b996b9dd08441309bc1f3874a050e487868a
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 11 16:24:03 2022 +0100
Added reCGSD == null checks on raceAnalyzer capture graphs
src/gui/app1/runEncoder.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 136eed942..0497815dc 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -2227,7 +2227,7 @@ public partial class ChronoJumpWindow
TwoListsOfDoubles verticalLinesUs_2l = new TwoListsOfDoubles();
if(currentRunEncoderExercise != null && //currentRunEncoderExercise.SegmentMeters > 0 &&
- reCGSD.SegmentDistTime_2l != null)
+ reCGSD != null && reCGSD.SegmentDistTime_2l != null)
verticalLinesUs_2l = reCGSD.SegmentDistTime_2l;
if(cairoGraphRaceAnalyzer_dt == null)
@@ -2248,7 +2248,7 @@ public partial class ChronoJumpWindow
TwoListsOfDoubles verticalLinesUs_2l = new TwoListsOfDoubles();
if(currentRunEncoderExercise != null && //currentRunEncoderExercise.SegmentMeters > 0 &&
- reCGSD.SegmentDistTime_2l != null)
+ reCGSD != null && reCGSD.SegmentDistTime_2l != null)
verticalLinesUs_2l = reCGSD.SegmentDistTime_2l;
if(cairoGraphRaceAnalyzer_st == null)
@@ -2272,7 +2272,7 @@ public partial class ChronoJumpWindow
TwoListsOfDoubles verticalLinesUs_2l = new TwoListsOfDoubles();
if(currentRunEncoderExercise != null && //currentRunEncoderExercise.SegmentMeters > 0 &&
- reCGSD.SegmentDistTime_2l != null)
+ reCGSD != null && reCGSD.SegmentDistTime_2l != null)
verticalLinesUs_2l = reCGSD.SegmentDistTime_2l;
if(cairoGraphRaceAnalyzer_at == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]