From: enk Date: Fri, 27 Jan 2006 09:27:34 +0000 (+0000) Subject: Fix for RedHat8.0 Bug IPAL10936: X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60665280b0e70503a0f8611c6e791181bb72736e;p=modules%2Fsmesh.git Fix for RedHat8.0 Bug IPAL10936: Polygonal face cannot be selected --- diff --git a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx index c27acbb08..ef6dfa0d2 100644 --- a/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RemoveElementsDlg.cxx @@ -45,6 +45,7 @@ #include "SVTK_ViewWindow.h" #include "SALOME_ListIO.hxx" +#include "SalomeApp_Tools.h" #include "utilities.h" // OCCT Includes @@ -257,7 +258,11 @@ void SMESHGUI_RemoveElementsDlg::ClickOnApply() try { SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor(); aResult = aMeshEditor->RemoveElements(anArrayOfIdeces.inout()); - } catch (...) { + } catch (const SALOME::SALOME_Exception& S_ex) { + SalomeApp_Tools::QtCatchCorbaException(S_ex); + myEditCurrentArgument->clear(); + } catch (...){ + myEditCurrentArgument->clear(); } if (aResult) {