Salome HOME
Fix for PAL8269(One can't select a pointer on geometry in mesh filters).
authormzn <mzn@opencascade.com>
Wed, 2 Mar 2005 07:45:32 +0000 (07:45 +0000)
committermzn <mzn@opencascade.com>
Wed, 2 Mar 2005 07:45:32 +0000 (07:45 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx

index 5eda1bc..62a04bb 100755 (executable)
@@ -2443,7 +2443,7 @@ void SMESHGUI_FilterDlg::onSelectionDone()
   Handle(SALOME_InteractiveObject) anIO = mySelection->firstIObject() ;
   GEOM::GEOM_Object_var anObj = SMESH::IObjectToInterface<GEOM::GEOM_Object>( anIO ) ;
   if ( !anObj->_is_nil() )
-    myTable->SetThreshold( aRow, anIO->getName() );
+    myTable->SetThreshold( aRow, GEOMBase::GetName(anObj) );
 }
 
 //=======================================================================