[chronojump] Repair a runInterval fixed!
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Repair a runInterval fixed!
- Date: Thu, 30 Mar 2017 16:18:43 +0000 (UTC)
commit 60b60808bd23891ab73331430fccefe359ba0235
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 30 18:17:43 2017 +0200
Repair a runInterval fixed!
src/gui/run.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/run.cs b/src/gui/run.cs
index 4cd83c6..64cb2b3 100644
--- a/src/gui/run.cs
+++ b/src/gui/run.cs
@@ -822,6 +822,9 @@ public class RepairRunIntervalWindow
runInterval.Tracks = Util.GetNumberOfJumps(timeString, false); //don't need a
GetNumberOfRuns, this works
runInterval.TimeTotal = Util.GetTotalTime(timeString);
runInterval.DistanceTotal = runInterval.TimeTotal * runInterval.DistanceInterval;
+
+ if(timeString != runInterval.IntervalTimesString)
+ runInterval.IntervalTimesString = timeString;
if(type.FixedValue > 0) {
//if this t'Type has a fixed value of runs or time, limitstring has not changed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]