From c243e785058d1fdbed7fb2e107f59e098909f2a8 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 16 Sep 2008 11:57:30 +0000 Subject: [PATCH] [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D remove extra code --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 5f37e5762..1aeacf804 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -594,8 +594,7 @@ void SMESHGUI_MeshOp::selectionDone() // a global algorithm that does not support submeshes if ( char* algoName = isSubmeshIgnored() ) { SUIT_MessageBox::warning( myDlg, tr( "SMESH_ERROR" ), - tr(QString("SUBMESH_NOT_ALLOWED") - .toLatin1().data() ).arg(algoName)); + tr("SUBMESH_NOT_ALLOWED").arg(algoName)); CORBA::string_free( algoName ); myDlg->selectObject( "", SMESHGUI_MeshDlg::Mesh, "" ); selectObject( _PTR(SObject)() ); -- 2.39.2