From 07e0dba5f8068ed1afeb0e6106445dea94e16c8d Mon Sep 17 00:00:00 2001 From: epa Date: Wed, 1 Nov 2006 12:27:51 +0000 Subject: [PATCH] Mistakes in operation of "Rotation" dialog box(free points mode) corrected --- src/TransformationGUI/TransformationGUI_RotationDlg.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.2