mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Fix for the bug IPAL22807:"TC6.4.0: input objects are not highlighted in 3D viewer"
This commit is contained in:
parent
c1bc8299f0
commit
52489860fc
@ -263,21 +263,22 @@ void PrimitiveGUI_CylinderDlg::SelectionIntoArgument()
|
||||
|
||||
myEditCurrentArgument->setText(aName);
|
||||
|
||||
// clear selection
|
||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||
this, SLOT(SelectionIntoArgument()));
|
||||
|
||||
if (myEditCurrentArgument == GroupPoints->LineEdit1) {
|
||||
myPoint = aSelectedObject;
|
||||
if (myPoint && !myDir)
|
||||
GroupPoints->PushButton2->click();
|
||||
GroupPoints->PushButton2->click();
|
||||
}
|
||||
else if (myEditCurrentArgument == GroupPoints->LineEdit2) {
|
||||
myDir = aSelectedObject;
|
||||
if (myDir && !myPoint)
|
||||
GroupPoints->PushButton1->click();
|
||||
GroupPoints->PushButton1->click();
|
||||
}
|
||||
// clear selection
|
||||
if ((myDir && !myPoint) || (myPoint && !myDir)) {
|
||||
disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0);
|
||||
myGeomGUI->getApp()->selectionMgr()->clearSelected();
|
||||
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||
this, SLOT(SelectionIntoArgument()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user