Salome HOME
Fix for the bug #42: point C is not activated, but point C is shown in preview in...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.cxx
index 837097139053ed168f265d23ee2a390087788510..33986c67d9be5c6bb94f16e4e363aa412c456f33 100755 (executable)
@@ -104,7 +104,7 @@ void HYDROGUI_PolylineOp::startOperation()
   else{
     myCurve = new CurveCreator_Curve(CurveCreator::Dim2d);
     aPanel->setCurve(myCurve);
-    QString aNewName = HYDROGUI_Tool::GenerateObjectName( module(), "Polyline" );
+    QString aNewName = HYDROGUI_Tool::GenerateObjectName( module(), tr( "DEFAULT_POLYLINE_NAME" ) );
     aPanel->setPolylineName(aNewName);
   }
   aPanel->setCurve(myCurve);