mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-22 21:12:03 +05:00
IPAL21354 Deleting of referenced father object doesn't work.
This commit is contained in:
parent
f697bd6392
commit
051a65748e
@ -490,8 +490,11 @@ void GEOMToolsGUI::OnEditDelete()
|
|||||||
|
|
||||||
// check if object is reference
|
// check if object is reference
|
||||||
_PTR(SObject) refobj;
|
_PTR(SObject) refobj;
|
||||||
if ( obj && obj->ReferencedObject( refobj ) )
|
if ( obj && obj->ReferencedObject( refobj ) ) {
|
||||||
continue; // skip references
|
// get the main object by reference IPAL 21354
|
||||||
|
obj = refobj;
|
||||||
|
entry = obj->GetID().c_str();
|
||||||
|
}
|
||||||
// ...
|
// ...
|
||||||
QString aName = obj->GetName().c_str();
|
QString aName = obj->GetName().c_str();
|
||||||
if ( entry == geomComp ) {
|
if ( entry == geomComp ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user