From b86d1b358dd58d727865b5f6c243df20de45bf84 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 24 Nov 2006 12:30:39 +0000 Subject: [PATCH] Fix for bug IPAL13980(The object browser is not updated automatically after "Find geometry by mesh"). --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 2 ++ 1 file changed, 2 insertions(+) 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();