From: mzn Date: Fri, 24 Nov 2006 12:30:39 +0000 (+0000) Subject: Fix for bug IPAL13980(The object browser is not updated automatically after "Find... X-Git-Tag: V3_2_4pre1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b86d1b358dd58d727865b5f6c243df20de45bf84;p=modules%2Fsmesh.git Fix for bug IPAL13980(The object browser is not updated automatically after "Find geometry by mesh"). --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index bd4816adc..17fdabb06 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -49,6 +49,7 @@ #include "GeometryGUI.h" #include "SalomeApp_Tools.h" +#include "SalomeApp_Application.h" #include "SALOMEDSClient_Study.hxx" #include "SALOMEDSClient_AttributeIOR.hxx" #include "SALOMEDSClient_AttributeName.hxx" @@ -1856,6 +1857,7 @@ void SMESHGUI_MeshOp::onGeomSelectionByMesh( bool theByMesh ) void SMESHGUI_MeshOp::onPublishShapeByMeshDlg(SUIT_Operation* op) { if ( myShapeByMeshOp == op ) { + SMESHGUI::GetSMESHGUI()->getApp()->updateObjectBrowser(); //MZN: 24.11.2006 IPAL13980 - Object Browser update added myDlg->show(); // Select a found geometry object GEOM::GEOM_Object_var aGeomVar = myShapeByMeshOp->GetShape();