[chronojump] RaceAnalyzer do not analyze when segmentMeters is variable
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RaceAnalyzer do not analyze when segmentMeters is variable
- Date: Tue, 1 Feb 2022 17:29:45 +0000 (UTC)
commit 3b66e05d5f818ab942cbc1560355b8854032c3d6
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Feb 1 18:28:12 2022 +0100
RaceAnalyzer do not analyze when segmentMeters is variable
src/gui/app1/runEncoderAnalyze.cs | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/gui/app1/runEncoderAnalyze.cs b/src/gui/app1/runEncoderAnalyze.cs
index 2d79d4975..8f8fec752 100644
--- a/src/gui/app1/runEncoderAnalyze.cs
+++ b/src/gui/app1/runEncoderAnalyze.cs
@@ -192,6 +192,12 @@ public partial class ChronoJumpWindow
return;
}
+ if(currentRunEncoderExercise.SegmentMeters < 0)
+ {
+ new DialogMessage(Constants.MessageTypes.WARNING, "Currently cannot analyze exercises
with variable segments");
+ return;
+ }
+
if(lastRunEncoderFullPath != null && lastRunEncoderFullPath != "")
raceEncoderCopyToTempAndDoRGraph();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]