From 859c4bcf7d6dcec221d149c1d71d9d10207c9365 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 31 Oct 2008 14:09:56 +0000 Subject: [PATCH] Bug 0020029: EDF 845 GEOM: impossible to set a negative angle for the revolution in gui. --- src/GenerationGUI/GenerationGUI_RevolDlg.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GenerationGUI/GenerationGUI_RevolDlg.cxx b/src/GenerationGUI/GenerationGUI_RevolDlg.cxx index d4d478269..b103d2ccc 100644 --- a/src/GenerationGUI/GenerationGUI_RevolDlg.cxx +++ b/src/GenerationGUI/GenerationGUI_RevolDlg.cxx @@ -125,8 +125,7 @@ void GenerationGUI_RevolDlg::Init() //GroupPoints->SpinBox_DX->RangeStepAndValidator(COORD_MIN, COORD_MAX, // SpecificStep, DBL_DIGITS_DISPLAY); // 05.06.2008 skl for IPAL12958 - GroupPoints->SpinBox_DX->RangeStepAndValidator(0.0, 360.0, SpecificStep, - DBL_DIGITS_DISPLAY); + GroupPoints->SpinBox_DX->RangeStepAndValidator(-360.0, 360.0, SpecificStep, DBL_DIGITS_DISPLAY); GroupPoints->SpinBox_DX->SetValue(45.0); /* signals and slots connections */