[chronojump] Encoder:fixed curve max in ecc single curve anal.



commit 083c9e098a0574ba05f11fb01663050f880ad127
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jul 17 19:03:43 2012 +0200

    Encoder:fixed curve max in ecc single curve anal.

 src/gui/encoder.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index ea64d7a..c78700e 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -742,6 +742,8 @@ public partial class ChronoJumpWindow
 		button_encoder_analyze_data_show_user_curves.Sensitive = false;
 		hbox_encoder_user_curves_num.Sensitive = false;
 
+		if(ecconLast != "c")
+			rows = rows / 2;
 		spin_encoder_analyze_curve_num.SetRange(1, rows);
 	}
 	private void on_radiobutton_encoder_analyze_data_user_curves_toggled (object obj, EventArgs args) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]