mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
PAL10125 - references isn't selected in mesh creation dialog
This commit is contained in:
parent
2f652b3784
commit
c819d8fdd3
@ -420,7 +420,13 @@ void SMESHGUI_SelectionOp::selected( QStringList& names,
|
||||
QString id = anIt.Value()->getEntry();
|
||||
ids.append( id );
|
||||
types.append( typeById( id, Object ) );
|
||||
names.append( anIt.Value()->getName() );
|
||||
SalomeApp_Study* _study = dynamic_cast<SalomeApp_Study*>( study() );
|
||||
if( _study )
|
||||
{
|
||||
_PTR(SObject) obj = _study->studyDS()->FindObjectID( anIt.Value()->getEntry() );
|
||||
if( obj )
|
||||
names.append( obj->GetName().c_str() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user