From d0994463850801f41d68ccd7c9853ab42d1d005f Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 17 Sep 2013 15:10:37 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_PolylineOp.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2