From 40cd2e5cb158e1fa2b0dbd11c9a1770ec5fb20f1 Mon Sep 17 00:00:00 2001 From: rnc Date: Thu, 12 Jul 2012 08:59:44 +0000 Subject: [PATCH] Small fix in the dialog box --- src/EntityGUI/EntityGUI_3DSketcherDlg.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx index ff8ee6e8a..ace13054b 100755 --- a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx @@ -185,8 +185,8 @@ void EntityGUI_3DSketcherDlg::Init() initSpinBox( Group3Spin->SpinBox_DZ, COORD_MIN, COORD_MAX, step, "length_precision" ); initSpinBox( GroupAngles->SpinBox_DA , -180.0, 180.0, step, "angular_precision" ); - initSpinBox( GroupAngles->SpinBox_DA2, 0.0, 90.0, step, "angular_precision" ); - initSpinBox( GroupAngles->SpinBox_DL, COORD_MIN, COORD_MAX, step, "length_precision" ); + initSpinBox( GroupAngles->SpinBox_DA2, -90.0, 90.0, step, "angular_precision" ); + initSpinBox( GroupAngles->SpinBox_DL , COORD_MIN, COORD_MAX, step, "length_precision" ); Group3Spin->SpinBox_DX->setValue(0.0); Group3Spin->SpinBox_DY->setValue(0.0); @@ -250,8 +250,8 @@ void EntityGUI_3DSketcherDlg::TypeClicked( int mode ) { if ( mode == myMode ) return; - Group3Spin->show(); GroupAngles->hide(); + Group3Spin->show(); bool blocked = Group3Spin->SpinBox_DX->signalsBlocked(); Group3Spin->SpinBox_DX->blockSignals(true); @@ -292,6 +292,7 @@ void EntityGUI_3DSketcherDlg::TypeClicked( int mode ) myMode = mode; + updateGeometry(); resize(minimumSizeHint()); } -- 2.39.2