]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Translate title of toolbars.
authorvsv <vsv@opencascade.com>
Wed, 2 Oct 2019 12:03:31 +0000 (15:03 +0300)
committervsv <vsv@opencascade.com>
Wed, 2 Oct 2019 12:03:56 +0000 (15:03 +0300)
src/XGUI/XGUI_MenuMgr.cpp

index cb004a243089402ed2eec83c880ef68c8f3f981d..eec28fee788877a1557e892e81f1a9bc94ca97ac 100644 (file)
@@ -76,6 +76,7 @@ void XGUI_MenuMgr::addFeature(const std::shared_ptr<Config_FeatureMessage>& 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<XGUI_MenuWorkbench> aWorkbench = findWorkbench(aWchNameString);