Fix for bug IPAL13980(The object browser is not updated automatically after "Find geometry by mesh").

This commit is contained in:
mzn 2006-11-24 12:30:39 +00:00
parent a89aeef1f1
commit b86d1b358d

View File

@ -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();