[chronojump] Fixed not using of ComputeAsElastic on forceSensorExercise gui. Could make a change on eccMin, conMi
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed not using of ComputeAsElastic on forceSensorExercise gui. Could make a change on eccMin, conMi
- Date: Tue, 29 Mar 2022 15:45:38 +0000 (UTC)
commit cffe2525e77b239f2d2af585874a20ac8228b41a
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Mar 29 17:44:53 2022 +0200
Fixed not using of ComputeAsElastic on forceSensorExercise gui. Could make a change on eccMin, conMin not
updated on DB.
src/gui/forceSensorExercise.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/forceSensorExercise.cs b/src/gui/forceSensorExercise.cs
index fe0c4eeb2..5dc9eac38 100644
--- a/src/gui/forceSensorExercise.cs
+++ b/src/gui/forceSensorExercise.cs
@@ -186,7 +186,7 @@ public class ForceSensorExerciseWindow
//on edit, if elastic, pass elastic params from exercise, and not elastic from preferences.
Opposite on not elastic
bool repsFromPrefs = false;
- if(exercise.Elastic)
+ if(exercise.ComputeAsElastic)
{
//to avoid put -1 (in fact is 1, minimum value) on spinbuttons
double em = exercise.EccMin;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]