[chronojump] forceSensor/runEncoder blank comment after capture
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] forceSensor/runEncoder blank comment after capture
- Date: Wed, 18 Sep 2019 15:08:53 +0000 (UTC)
commit 01ee4fb549d749947cf7046dbff734cce22dc91e
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Sep 18 15:43:08 2019 +0200
forceSensor/runEncoder blank comment after capture
src/gui/forceSensor.cs | 3 ++-
src/gui/runEncoder.cs | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/forceSensor.cs b/src/gui/forceSensor.cs
index fa76bff3..1d2ed483 100644
--- a/src/gui/forceSensor.cs
+++ b/src/gui/forceSensor.cs
@@ -376,6 +376,7 @@ public partial class ChronoJumpWindow
{
forceSensorButtonsSensitive(false);
+ textview_force_sensor_capture_comment.Buffer.Text = "";
assignCurrentForceSensorExercise();
if(currentForceSensorExercise.TareBeforeCapture)
{
@@ -963,7 +964,7 @@ LogB.Information(" re C ");
Util.GetLastPartOfPath(lastForceSensorFile + ".csv"),
//filename
Util.MakeURLrelative(Util.GetForceSensorSessionDir(currentSession.UniqueID)), //url
UtilDate.ToFile(forceSensorTimeStartCapture),
-
UtilGtk.TextViewGetCommentValidSQL(textview_force_sensor_capture_comment),
+ "", //on capture cannot store comment (comment has to
be written after),
"", //videoURL
currentForceSensorExercise.Name);
diff --git a/src/gui/runEncoder.cs b/src/gui/runEncoder.cs
index c3a241ac..3981ef02 100644
--- a/src/gui/runEncoder.cs
+++ b/src/gui/runEncoder.cs
@@ -209,6 +209,8 @@ public partial class ChronoJumpWindow
return;
}
+ textview_race_analyzer_comment.Buffer.Text = "";
+ assignCurrentRunEncoderExercise();
raceEncoderReadWidgets();
runEncoderButtonsSensitive(false);
button_run_encoder_recalculate.Sensitive = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]