diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.cxx b/src/GEOMToolsGUI/GEOMToolsGUI.cxx index 4463292d5..602010e3a 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI.cxx @@ -471,6 +471,15 @@ bool GEOMToolsGUI::Import() GEOM_Displayer( stud ).Display( anObj.in() ); + // update data model and object browser + SalomeApp_Application* anApp = dynamic_cast(app); + if (anApp) { + CAM_Module* module = anApp->module( "Geometry" ); + SalomeApp_Module* appMod = dynamic_cast( module ); + if ( appMod ) + appMod->updateObjBrowser( true ); + } + anOp->commit(); } else {