mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +05:00
IPAL22046 TC 5.1.5: Modify the Location - impossible to select the same Path object after Apply
This commit is contained in:
parent
4f5efb008b
commit
45783147f0
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user