From: dmv Date: Fri, 10 Sep 2010 06:38:14 +0000 (+0000) Subject: Crash X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8be4a1010ed4f7e6c390becff60e4b8e7295430a;p=modules%2Fgui.git Crash --- diff --git a/src/LightApp/LightApp_SelectionMgr.cxx b/src/LightApp/LightApp_SelectionMgr.cxx index 39769d96e..a7b9b17d2 100644 --- a/src/LightApp/LightApp_SelectionMgr.cxx +++ b/src/LightApp/LightApp_SelectionMgr.cxx @@ -187,7 +187,7 @@ void LightApp_SelectionMgr::GetIndexes( const Handle(SALOME_InteractiveObject)& for ( SUIT_DataOwnerPtrList::const_iterator itr = aList.begin(); itr != aList.end(); ++itr ) { LightApp_DataSubOwner* subOwner = dynamic_cast( (*itr).operator->() ); - if ( subOwner->entry() == QString(IObject->getEntry()) ) + if ( subOwner && subOwner->entry() == QString(IObject->getEntry()) ) theIndex.Add( subOwner->index() ); } }