Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetLineEdit.cpp
index 8003a76f542cefc90bd670b3b78dbdb31fe96dde..e915477ed7948f52023ec495ecf4cefc000e2f11 100644 (file)
@@ -97,7 +97,7 @@ ModuleBase_WidgetLineEdit::ModuleBase_WidgetLineEdit(QWidget* theParent,
   if (!aLabelIcon.isEmpty())
     aLabel->setPixmap(ModuleBase_IconFactory::loadPixmap(aLabelIcon));
 
-  myLineEdit = new CustomLineEdit( this, QString::fromStdString( thePlaceHolder ) );
+  myLineEdit = new CustomLineEdit( this, translate( thePlaceHolder ) );
   // Here we do not use the Qt's standard method setPlaceHolderText() since it
   // draws the place holder only if there is no focus on widget;
   // we would like to see the place holder in the case of empty text