From: vsr Date: Thu, 14 Jan 2016 14:20:05 +0000 (+0300) Subject: 0053062: Hang-up in Dump Study in case of some module which data is present in study... X-Git-Tag: V7_8_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=559b2982889c377a9b16f92d09482e1865b2cf69;p=modules%2Fgui.git 0053062: Hang-up in Dump Study in case of some module which data is present in study is not available in current session --- diff --git a/src/SalomeApp/SalomeApp_Engine_i.cxx b/src/SalomeApp/SalomeApp_Engine_i.cxx index 9b58f1e36..40563d939 100644 --- a/src/SalomeApp/SalomeApp_Engine_i.cxx +++ b/src/SalomeApp/SalomeApp_Engine_i.cxx @@ -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() );