From: ouv Date: Tue, 17 Sep 2013 15:10:37 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0994463850801f41d68ccd7c9853ab42d1d005f;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx index 45383c5c..f5334fe8 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx @@ -120,8 +120,8 @@ void HYDROGUI_PolylineOp::onCreatePreview() dynamic_cast( anApp->createViewManager( OCCViewer_Viewer::Type() ) ); if( myPreviewViewManager ) { - anApp->selectionMgr()->setEnabled(false); - myPreviewViewManager->setTitle( tr( "CREATE_CURVE" ) ); + //anApp->selectionMgr()->setEnabled(false); // what the hell?! + myPreviewViewManager->setTitle( tr( "CREATE_POLYLINE" ) ); OCCViewer_Viewer* aViewer = myPreviewViewManager->getOCCViewer(); aViewer->enableSelection(true); aViewer->enableMultiselection(true); @@ -173,7 +173,7 @@ void HYDROGUI_PolylineOp::startOperation() else{ myCurve = new CurveCreator_Curve(CurveCreator::Dim3d); aPanel->setCurve(myCurve); - QString aNewName = HYDROGUI_Tool::GenerateObjectName( module(), tr("POLYLINE_PREFIX") ); + QString aNewName = HYDROGUI_Tool::GenerateObjectName( module(), "Polyline" ); aPanel->setPolylineName(aNewName); } aPanel->setCurve(myCurve);