[chronojump] Fixed bug on force_sensor_exercise examples since last version (or more)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed bug on force_sensor_exercise examples since last version (or more)
- Date: Fri, 21 Aug 2020 13:05:16 +0000 (UTC)
commit 8a558bb44b4235b55daaa266ae10fd6de43d4334
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 21 14:04:51 2020 +0100
Fixed bug on force_sensor_exercise examples since last version (or more)
glade/force_sensor_exercise.glade | 1 +
src/gui/forceSensorExercise.cs | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/glade/force_sensor_exercise.glade b/glade/force_sensor_exercise.glade
index 94a5d5c7..17c0737c 100644
--- a/glade/force_sensor_exercise.glade
+++ b/glade/force_sensor_exercise.glade
@@ -1156,6 +1156,7 @@
<widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">4</property>
<child>
<widget class="GtkHBox" id="hbox1">
<property name="visible">True</property>
diff --git a/src/gui/forceSensorExercise.cs b/src/gui/forceSensorExercise.cs
index 59ef6589..bb378632 100644
--- a/src/gui/forceSensorExercise.cs
+++ b/src/gui/forceSensorExercise.cs
@@ -158,7 +158,6 @@ public class ForceSensorExerciseWindow
ForceSensorExerciseWindowBox.Success = false;
ForceSensorExerciseWindowBox.modeEnum = modesEnum.EDIT;
- ForceSensorExerciseWindowBox.initializeGuiAtShow();
ForceSensorExerciseWindowBox.exercise = exercise;
ForceSensorExerciseWindowBox.exerciseToGUI();
@@ -208,6 +207,7 @@ public class ForceSensorExerciseWindow
Convert.ToInt32(em), Convert.ToInt32(cm));
}
+ ForceSensorExerciseWindowBox.initializeGuiAtShow();
ForceSensorExerciseWindowBox.force_sensor_exercise.Show ();
return ForceSensorExerciseWindowBox;
@@ -226,7 +226,6 @@ public class ForceSensorExerciseWindow
ForceSensorExerciseWindowBox.Success = false;
ForceSensorExerciseWindowBox.modeEnum = modesEnum.ADD;
- ForceSensorExerciseWindowBox.initializeGuiAtShow();
ForceSensorExerciseWindowBox.exercise = null;
ForceSensorExerciseWindowBox.prefsForceSensorElasticEccMinDispl =
prefsForceSensorElasticEccMinDispl;
@@ -239,6 +238,7 @@ public class ForceSensorExerciseWindow
prefsForceSensorElasticEccMinDispl, prefsForceSensorElasticConMinDispl,
prefsForceSensorNotElasticEccMinForce, prefsForceSensorNotElasticConMinForce);
+ ForceSensorExerciseWindowBox.initializeGuiAtShow();
ForceSensorExerciseWindowBox.force_sensor_exercise.Show ();
return ForceSensorExerciseWindowBox;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]