]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Mistakes in operation of "Rotation" dialog box(free points mode) corrected
authorepa <epa@opencascade.com>
Wed, 1 Nov 2006 12:27:51 +0000 (12:27 +0000)
committerepa <epa@opencascade.com>
Wed, 1 Nov 2006 12:27:51 +0000 (12:27 +0000)
src/TransformationGUI/TransformationGUI_RotationDlg.cxx

index f7ef55d8987f58ed2980f13e36e5c3c84ef41387..39f71533bbb9f416445b25d9fd7c161dc64e3029 100644 (file)
@@ -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;
 }