From: eap Date: Tue, 16 Sep 2008 11:57:30 +0000 (+0000) Subject: [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D... X-Git-Tag: V5_1_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c243e785058d1fdbed7fb2e107f59e098909f2a8;p=modules%2Fsmesh.git [SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D remove extra code --- 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)() );