[chronojump/michrolab] Missing on commit: RaceAnalyzer analyze current set, shows date/time columns on treeview and can exp



commit 76353bd6072b9befe32d414260894da5f81e46a0
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jul 29 13:32:34 2022 +0200

    Missing on commit: RaceAnalyzer analyze current set, shows date/time columns on treeview and can export 
them

 src/gui/app1/runEncoderAnalyze.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/runEncoderAnalyze.cs b/src/gui/app1/runEncoderAnalyze.cs
index 5a987a141..c40322267 100644
--- a/src/gui/app1/runEncoderAnalyze.cs
+++ b/src/gui/app1/runEncoderAnalyze.cs
@@ -261,11 +261,12 @@ public partial class ChronoJumpWindow
                        else
                                sep = ",";
 
+                       string contents = Util.ReadFile(RunEncoder.GetCSVResultsURL(), false);
+
                        //write header
                        writer.WriteLine(Util.RemoveNewLine(Util.StringArrayToString(
-                                                       getTreeviewRaceAnalyzerHeaders(), sep), true));
+                                                       getTreeviewRaceAnalyzerHeaders(contents), sep), 
true));
 
-                       string contents = Util.ReadFile(RunEncoder.GetCSVResultsURL(), false);
                        RunEncoderCSV recsv = readRunEncoderCSVContents(contents);
 
                        writer.WriteLine(recsv.ToCSV(preferences.CSVExportDecimalSeparator));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]