From: vsv Date: Wed, 2 Oct 2019 12:03:31 +0000 (+0300) Subject: Translate title of toolbars. X-Git-Tag: V9_4_0a2~4^2~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b459bb4854416e40f38d69ec4f6af67c7d552e80;p=modules%2Fshaper.git Translate title of toolbars. --- diff --git a/src/XGUI/XGUI_MenuMgr.cpp b/src/XGUI/XGUI_MenuMgr.cpp index cb004a243..eec28fee7 100644 --- a/src/XGUI/XGUI_MenuMgr.cpp +++ b/src/XGUI/XGUI_MenuMgr.cpp @@ -76,6 +76,7 @@ void XGUI_MenuMgr::addFeature(const std::shared_ptr& theM return; } QString aWchName = ModuleBase_Tools::translate("workshop", theMessage->workbenchId()); + theMessage->setToolBarId(ModuleBase_Tools::translate("workshop", theMessage->workbenchId()).toStdString()); #ifdef HAVE_SALOME std::string aWchNameString = aWchName.toStdString(); std::shared_ptr aWorkbench = findWorkbench(aWchNameString);