[chronojump] RaceAnalyzer gui allows to analyze in all modes also non-sprints (previously only sprints)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RaceAnalyzer gui allows to analyze in all modes also non-sprints (previously only sprints)
- Date: Thu, 28 Jul 2022 15:15:52 +0000 (UTC)
commit 9d3e9ef14aa0142b2b1c4d3ac34dcd81688a0fb1
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jul 28 16:51:42 2022 +0200
RaceAnalyzer gui allows to analyze in all modes also non-sprints (previously only sprints)
src/exportFiles/re.cs | 8 +-------
src/gui/app1/runEncoderAnalyze.cs | 6 ------
2 files changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/src/exportFiles/re.cs b/src/exportFiles/re.cs
index 806c869f0..c599df523 100644
--- a/src/exportFiles/re.cs
+++ b/src/exportFiles/re.cs
@@ -15,7 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * Copyright (C) 2021 Xavier de Blas <xaviblas gmail com>
+ * Copyright (C) 2022 Xavier de Blas <xaviblas gmail com>
*/
using System;
@@ -168,12 +168,6 @@ public class RunEncoderExport : ExportFiles
if(! found)
continue;
- if(! reEx.IsSprint) //currently can only export (analyze with model) sprints
- {
- discarded ++;
- continue;
- }
-
// 4) create the export row
string title = Util.ChangeSpaceAndMinusForUnderscore(p.Name) + "-" +
Util.ChangeSpaceAndMinusForUnderscore(reEx.Name);
diff --git a/src/gui/app1/runEncoderAnalyze.cs b/src/gui/app1/runEncoderAnalyze.cs
index 98d221e87..5a987a141 100644
--- a/src/gui/app1/runEncoderAnalyze.cs
+++ b/src/gui/app1/runEncoderAnalyze.cs
@@ -210,12 +210,6 @@ public partial class ChronoJumpWindow
return;
}
- if(! currentRunEncoderExercise.IsSprint)
- {
- new DialogMessage(Constants.MessageTypes.WARNING, "Currently you can only analyze
sprint exercises.");
- return;
- }
-
if(lastRunEncoderFullPath != null && lastRunEncoderFullPath != "")
raceEncoderCopyToTempAndDoRGraph();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]