]> SALOME platform Git repositories - modules/gui.git/commit
Salome HOME
0021165: [CEA] Unit test crashes salome session
authoreap <eap@opencascade.com>
Wed, 2 Feb 2011 12:07:09 +0000 (12:07 +0000)
committereap <eap@opencascade.com>
Wed, 2 Feb 2011 12:07:09 +0000 (12:07 +0000)
commit93002a427ec69acb963a49eeb7b05d8542336a63
tree3b7fbca21f324e549cdce6af0cd69c1f12bf8fc7
parent15e5a40537194e5138a3290f8b249f4cf474827b
0021165: [CEA] Unit test crashes salome session
   In notifyObserverID(), check if SObject returned by
   GetFatherComponent() is valid or not
- if ( aSComp->GetID() == entry_str )
+ if ( aSComp && !aSComp->IsNull() && aSComp->GetID() == entry_str )
src/SalomeApp/SalomeApp_Study.cxx