[chronojump] Fixed DateOnX now only in intersession
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed DateOnX now only in intersession
- Date: Tue, 17 May 2016 14:41:58 +0000 (UTC)
commit de04673cb7e3cd6d8766420ddf44ad2f91e151b8
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue May 17 16:38:27 2016 +0200
Fixed DateOnX now only in intersession
src/gui/encoder.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index b3edb07..15cd360 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -2385,7 +2385,8 @@ public partial class ChronoJumpWindow
//not called here
//prepareAnalyzeRepetitions();
-
+
+ createComboAnalyzeCross(false, false); //first creation: false, dateOnX: false
updateComboEncoderAnalyzeCurveNumFromCurrentSet ();
hbox_encoder_user_curves.Visible = false;
@@ -2425,6 +2426,7 @@ public partial class ChronoJumpWindow
}
*/
+ createComboAnalyzeCross(false, false); //first creation: false, dateOnX: false
hbox_encoder_user_curves.Visible = currentPerson != null;
hbox_combo_encoder_exercise_analyze.Visible = false;
@@ -2453,6 +2455,7 @@ public partial class ChronoJumpWindow
hbox_encoder_analyze_current_signal.Visible = false;
+ createComboAnalyzeCross(false, check_encoder_intersession_x_is_date.Active);
hbox_encoder_user_curves.Visible = currentPerson != null;
hbox_combo_encoder_exercise_analyze.Visible = true;
@@ -2477,6 +2480,7 @@ public partial class ChronoJumpWindow
hbox_encoder_analyze_current_signal.Visible = false;
+ createComboAnalyzeCross(false, false); //first creation: false, dateOnX: false
hbox_encoder_user_curves.Visible = currentPerson != null;
hbox_combo_encoder_exercise_analyze.Visible = true;
@@ -2880,7 +2884,7 @@ public partial class ChronoJumpWindow
new EventHandler(on_combo_encoder_anchorage_changed );
//create combo analyze cross
- createComboAnalyzeCross(true, false); //first creation, without "dateInX"
+ createComboAnalyzeCross(true, false); //first creation, without "dateOnX"
//create combo analyze 1RM
string [] comboAnalyze1RMOptions = { "1RM Any exercise", "1RM Bench Press", "1RM Indirect" };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]