[chronojump] Force sensor: Fixed laterality reading on load set
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Force sensor: Fixed laterality reading on load set
- Date: Mon, 26 Oct 2020 14:00:27 +0000 (UTC)
commit fbb3da6906af2a857ee10586797293bf5b9da527
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Oct 26 15:00:06 2020 +0100
Force sensor: Fixed laterality reading on load set
src/gui/app1/forceSensor.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 436a49f7..969b62c7 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -2886,12 +2886,12 @@ LogB.Information(" fs R ");
}
private void setLaterality(string s)
{
- if(s == Catalog.GetString(Constants.ForceSensorLateralityBoth))
- radio_force_sensor_laterality_both.Active = true;
- else if(s == Catalog.GetString(Constants.ForceSensorLateralityLeft))
+ if(s == Constants.ForceSensorLateralityLeft)
radio_force_sensor_laterality_l.Active = true;
- else if(s == Catalog.GetString(Constants.ForceSensorLateralityRight))
+ else if(s == Constants.ForceSensorLateralityRight)
radio_force_sensor_laterality_r.Active = true;
+ else //if(s == Constants.ForceSensorLateralityBoth)
+ radio_force_sensor_laterality_both.Active = true;
}
// -------------------------------- end of options, laterality and comment stuff ------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]