[chronojump] Fixed crash on encoder capture if currentRunEncoderExercise but not currentRunEncoder
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed crash on encoder capture if currentRunEncoderExercise but not currentRunEncoder
- Date: Tue, 12 Jul 2022 14:14:56 +0000 (UTC)
commit 60ad1effdcf4462c35d579782e6b292d909eb77b
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]