From: epa Date: Wed, 1 Nov 2006 12:27:51 +0000 (+0000) Subject: Mistakes in operation of "Rotation" dialog box(free points mode) corrected X-Git-Tag: V3_2_3pre1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=07e0dba5f8068ed1afeb0e6106445dea94e16c8d;p=modules%2Fgeom.git Mistakes in operation of "Rotation" dialog box(free points mode) corrected --- diff --git a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx index f7ef55d89..39f71533b 100644 --- a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx +++ b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx @@ -182,6 +182,8 @@ void TransformationGUI_RotationDlg::ConstructorsClicked(int constructorId) GroupPoints->TextLabel4->setText(tr("GEOM_POINT_I").arg("1")); GroupPoints->TextLabel5->setText(tr("GEOM_POINT_I").arg("2")); GroupPoints->LineEdit2->clear(); + GroupPoints->LineEdit4->clear(); + GroupPoints->LineEdit5->clear(); myCentPoint = myPoint1 = myPoint2 = GEOM::GEOM_Object::_nil(); break; } @@ -212,7 +214,8 @@ bool TransformationGUI_RotationDlg::ClickOnApply() if ( !onAccept( GroupPoints->CheckButton1->isChecked()) ) return false; - Init(); + initName(); + ConstructorsClicked( getConstructorId() ); return true; }