From: jfa Date: Tue, 1 Nov 2005 15:05:39 +0000 (+0000) Subject: Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on... X-Git-Tag: V3_1_0a3~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=459d12381c2d2769f096ca0044d4ed20b8e18f50;p=modules%2Fgui.git Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on Preview) --- diff --git a/src/SalomeApp/SalomeApp_SelectionMgr.cxx b/src/SalomeApp/SalomeApp_SelectionMgr.cxx index fec8f3a0b..059b2ccfd 100644 --- a/src/SalomeApp/SalomeApp_SelectionMgr.cxx +++ b/src/SalomeApp/SalomeApp_SelectionMgr.cxx @@ -68,7 +68,7 @@ void SalomeApp_SelectionMgr::selectedObjects( SALOME_ListIO& theList, const QStr continue; _PTR(SObject) obj = dstudy->FindObjectID( owner->entry() ); - if( convertReferences && obj->ReferencedObject( refobj ) ) + if( obj && convertReferences && obj->ReferencedObject( refobj ) ) { entry = refobj->GetID(); if( !entryMap.contains( entry ) )