]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0053062: Hang-up in Dump Study in case of some module which data is present in study... V7_8_0a1
authorvsr <vsr@opencascade.com>
Thu, 14 Jan 2016 14:20:05 +0000 (17:20 +0300)
committervsr <vsr@opencascade.com>
Thu, 14 Jan 2016 14:20:05 +0000 (17:20 +0300)
src/SalomeApp/SalomeApp_Engine_i.cxx

index 9b58f1e36c69086a4d3e1cbfca4215f66b0569e2..40563d9391e8ea8e8a644c281933e88f2f17c333 100644 (file)
@@ -347,6 +347,9 @@ CORBA::Object_ptr SalomeApp_Engine_i::EngineForComponent( const char* theCompone
   if ( !theComponentName || !strlen( theComponentName ) )
     return anEngine._retn();
 
+  if ( SalomeApp_Application::moduleTitle( theComponentName ).isEmpty() )
+    return anEngine._retn();
+
   std::string aPath( "/SalomeAppEngine/" );
   aPath += theComponentName;
   anEngine = namingService()->Resolve( aPath.c_str() );