Salome HOME
Update viewer after selection clear for OCCT 7.4.0.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSwitch.cpp
index 405ddc1984038896cfa15fe9f562e27aa432a559..98d08af2081e900159fc56fe76d39988384d6888 100644 (file)
@@ -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();