From: vsr Date: Thu, 2 Apr 2009 09:32:03 +0000 (+0000) Subject: Fix problem (internal 21002) - "MED file information" command is not shown in popup... X-Git-Tag: V5_1_2rc1~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7bc441ba313f8efdc47a4e40b33fd59244096b29;p=modules%2Fsmesh.git Fix problem (internal 21002) - "MED file information" command is not shown in popup menu --- diff --git a/src/SMESHGUI/SMESHGUI_Selection.cxx b/src/SMESHGUI/SMESHGUI_Selection.cxx index e0e63d4cc..cc09a369f 100644 --- a/src/SMESHGUI/SMESHGUI_Selection.cxx +++ b/src/SMESHGUI/SMESHGUI_Selection.cxx @@ -512,7 +512,6 @@ bool SMESHGUI_Selection::isImported( const int ind ) const QString e = entry( ind ); _PTR(SObject) SO = SMESH::GetActiveStudyDocument()->FindObjectID( e.toLatin1().constData() ); bool res = false; - /* if( SO ) { SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow( SMESH::SObjectToObject( SO ) ); @@ -522,7 +521,6 @@ bool SMESHGUI_Selection::isImported( const int ind ) const res = strlen( (char*)inf->fileName ) > 0; } } - */ return res; }