From 6409e2af6f0e9b5723fce8a82bcb8cd116820c7f Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 5 Oct 2006 07:19:32 +0000 Subject: [PATCH] Function SUIT_ResourceMgr::raiseTranslator() invoked for currently active module. --- src/LightApp/LightApp_Application.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.39.2