diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 0ecafd3da..d6889abcd 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -88,6 +88,7 @@ #include #include +#include "SALOME_KernelServices.hxx" #include @@ -230,6 +231,8 @@ GeometryGUI::GeometryGUI() : SalomeApp_Module( "GEOM" ) else { comp = RetrieveGEOMInstance(); + CORBA::Object_var comp2 = CORBA::Object::_narrow(comp); + KERNEL::RegisterCompo("GEOM",comp2); } myComponentGeom = GEOM::GEOM_Gen::_narrow( comp ); }