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 5eda1bc93ce9160ff4f9c5642b72ac82e27e0114..62a04bb7424aad3b706bf6de6f0d12296dea87fd 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) );
 }
 
 //=======================================================================