From: stv Date: Thu, 5 Oct 2006 07:19:32 +0000 (+0000) Subject: Function SUIT_ResourceMgr::raiseTranslator() invoked for currently active module. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6409e2af6f0e9b5723fce8a82bcb8cd116820c7f;p=modules%2Fgui.git Function SUIT_ResourceMgr::raiseTranslator() invoked for currently active module. --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index b00782443..35d88ac19 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -380,6 +380,9 @@ bool LightApp_Application::activateModule( const QString& modName ) updateWindows(); updateViewManagers(); + if ( resourceMgr() ) + resourceMgr()->raiseTranslators( activeModule() ? activeModule()->moduleName() : "LightApp" ); + return true; } @@ -2298,6 +2301,10 @@ bool LightApp_Application::activateModule( CAM_Module* mod ) bool res = CAM_Application::activateModule( mod ); if ( objectBrowser() ) objectBrowser()->updateTree(); + + if ( resourceMgr() ) + resourceMgr()->raiseTranslators( activeModule() ? activeModule()->moduleName() : "LightApp" ); + return res; }