[chronojump/michrolab] Fixed crash on encoder capture if currentRunEncoderExercise but not currentRunEncoder
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Fixed crash on encoder capture if currentRunEncoderExercise but not currentRunEncoder
- Date: Thu, 14 Jul 2022 16:37:57 +0000 (UTC)
commit 8b279be47bd34805dc8a002d8fc61bdb0a647f03
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jul 12 16:12:44 2022 +0200
Fixed crash on encoder capture if currentRunEncoderExercise but not currentRunEncoder
src/gui/app1/runEncoder.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index d471b04e2..04dc63394 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -385,7 +385,7 @@ public partial class ChronoJumpWindow
reCGSD = new RunEncoderCaptureGetSpeedAndDisplacement(
currentRunEncoderExercise.SegmentCm,
currentRunEncoderExercise.SegmentVariableCm,
currentPersonSession.Weight, //but note if person changes (but graph
will be hopefully erased), this will change also take care on exports
- currentRunEncoder.Angle);
+ Convert.ToInt32(race_analyzer_spinbutton_angle.Value) );
updateRaceAnalyzerCapturePositionTime(true);
updateRaceAnalyzerCaptureSpeedTime(true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]