X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetSwitch.cpp;h=98d08af2081e900159fc56fe76d39988384d6888;hb=bbf6e2c75c79cb80729eb85baecf4d1a17dd7ed8;hp=405ddc1984038896cfa15fe9f562e27aa432a559;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp index 405ddc198..98d08af20 100644 --- a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp @@ -59,7 +59,7 @@ int ModuleBase_WidgetSwitch::addPage(ModuleBase_PageBase* thePage, const QString { int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip); - myCombo->addItem(theName); + myCombo->addItem(translate(theName.toStdString())); int aResultCount = myCombo->count(); if (aResultCount == 2) myCombo->show();