From 7bc441ba313f8efdc47a4e40b33fd59244096b29 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 2 Apr 2009 09:32:03 +0000 Subject: [PATCH] Fix problem (internal 21002) - "MED file information" command is not shown in popup menu --- src/SMESHGUI/SMESHGUI_Selection.cxx | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.30.2