IPAL22046 TC 5.1.5: Modify the Location - impossible to select the same Path object after Apply

This commit is contained in:
dmv 2010-10-07 12:09:43 +00:00
parent 4f5efb008b
commit 45783147f0
5 changed files with 30 additions and 2 deletions

View File

@ -197,6 +197,11 @@ bool TransformationGUI_MirrorDlg::ClickOnApply()
return false;
initName();
myObjects.length(0);
myEditCurrentArgument = GroupPoints->LineEdit1;
myEditCurrentArgument->setText("");
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;

View File

@ -300,6 +300,11 @@ bool TransformationGUI_PositionDlg::ClickOnApply()
return false;
initName();
myObjects.length(0);
myEditCurrentArgument = Group1->LineEdit1;
myEditCurrentArgument->setText("");
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
@ -340,8 +345,8 @@ void TransformationGUI_PositionDlg::SelectionIntoArgument()
else
myEditCurrentArgument->setText(aName);
if (getConstructorId() == 2)
Group1->PushButton5->click();
/* if (getConstructorId() == 2)
Group1->PushButton5->click();*/
}
else if (myEditCurrentArgument == Group1->LineEdit2) {
if (aSelList.Extent() != 1)

View File

@ -236,6 +236,11 @@ bool TransformationGUI_RotationDlg::ClickOnApply()
return false;
initName();
myObjects.length(0);
myEditCurrentArgument = GroupPoints->LineEdit1;
myEditCurrentArgument->setText("");
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;

View File

@ -202,6 +202,9 @@ void TransformationGUI_ScaleDlg::ConstructorsClicked (int constructorId)
{
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
myPoint = GEOM::GEOM_Object::_nil();
LineEdit2->clear();
switch (constructorId) {
case 0: // translation an object by dx, dy, dz
TextLabel3->setText(tr("GEOM_SCALE_FACTOR"));
@ -258,6 +261,11 @@ bool TransformationGUI_ScaleDlg::ClickOnApply()
return false;
initName(tr("GEOM_SCALE"));
myObjects.length(0);
myEditCurrentArgument = LineEdit1;
myEditCurrentArgument->setText("");
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;

View File

@ -272,6 +272,11 @@ bool TransformationGUI_TranslationDlg::ClickOnApply()
return false;
initName();
myObjects.length(0);
myEditCurrentArgument = GroupPoints->LineEdit1;
myEditCurrentArgument->setText("");
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;