From b459bb4854416e40f38d69ec4f6af67c7d552e80 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 2 Oct 2019 15:03:31 +0300 Subject: [PATCH] Translate title of toolbars. --- src/XGUI/XGUI_MenuMgr.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2