Salome HOME
Fix for bug IPAL13980(The object browser is not updated automatically after "Find...
authormzn <mzn@opencascade.com>
Fri, 24 Nov 2006 12:30:39 +0000 (12:30 +0000)
committermzn <mzn@opencascade.com>
Fri, 24 Nov 2006 12:30:39 +0000 (12:30 +0000)
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index bd4816adce8d5afda654d4c8e34556a1c24d5341..17fdabb06364bd3bde0ff18e1b0960d1695847b7 100644 (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();