QApplication::setOverrideCursor(Qt::waitCursor);
if(LightApp_SelectionMgr* aSelectionMgr = GetSelectionMgr(this)){
- SALOME_ListIO aList;
- aSelectionMgr->selectedObjects(aList);
+ SALOME_ListIO aSel, aList;
+ aSelectionMgr->selectedObjects(aSel);
+ extractContainers(aSel, aList);
+
for(SALOME_ListIteratorOfListIO it( aList ); it.More(); it.Next()){
Handle(SALOME_InteractiveObject) anIO = it.Value();
CORBA::Object_var anObject = GetSelectedObj( GetAppStudy(this), anIO->getEntry() );
{
QApplication::setOverrideCursor(Qt::waitCursor);
- SALOME_ListIO aList;
LightApp_SelectionMgr* aSelectionMgr = GetSelectionMgr(this);
- aSelectionMgr->selectedObjects(aList);
+ SALOME_ListIO aSel, aList;
+ aSelectionMgr->selectedObjects(aSel);
+ extractContainers(aSel, aList);
for(SALOME_ListIteratorOfListIO it( aList ); it.More(); it.Next()){
Handle(SALOME_InteractiveObject) anIO = it.Value();