[chronojump] Fixed takeOff and takeOff weight unselectable
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed takeOff and takeOff weight unselectable
- Date: Fri, 26 Mar 2010 15:02:40 +0000 (UTC)
commit 1f2130e4d0ab713f4d0541fb1818976516c8d6b4
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 26 23:02:15 2010 +0800
Fixed takeOff and takeOff weight unselectable
src/treeViewJump.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/treeViewJump.cs b/src/treeViewJump.cs
index e082b97..709eaf8 100644
--- a/src/treeViewJump.cs
+++ b/src/treeViewJump.cs
@@ -213,7 +213,6 @@ public class TreeViewJumps : TreeViewEvent
if (showPower) {
-
//takeoff has no tv. power should not be calculated
//calculate jumps with tf
if(newJump.Tv > 0) {
@@ -228,7 +227,8 @@ public class TreeViewJumps : TreeViewEvent
myData[count++] = Util.TrimDecimals(
Util.GetPower(newJump.Tv, personWeight, weightInKg).ToString(), pDN);
}
- }
+ } else
+ myData[count++] = "0";
}
if (showInitialSpeed)
myData[count++] = Util.TrimDecimals(Util.GetInitialSpeed(newJump.Tv.ToString(), metersSecondsPreferred), pDN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]