X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetSelector.cpp;h=9b044c6024540878c34326422de20258c9d1f1d8;hb=66b868e71cedc4b7c6132b9ec15dddd9ef372a9a;hp=b9fe6ef9c9db8f643c71abfe33d7cce5514e4e31;hpb=37a97e259237763b1db3cee43ebf829bde336a52;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.cpp b/src/ModuleBase/ModuleBase_WidgetSelector.cpp index b9fe6ef9c..9b044c602 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelector.cpp @@ -176,7 +176,8 @@ bool ModuleBase_WidgetSelector::setSelectionCustom(const ModuleBase_ViewerPrsPtr GeomShapePtr aShape; getGeomSelection(thePrs, anObject, aShape); - ModuleBase_Tools::setObject(attribute(), anObject, aShape, myWorkshop, myIsInValidate); + // the last flag is to be depending on hasObject is called before. To be corrected later + ModuleBase_Tools::setObject(attribute(), anObject, aShape, myWorkshop, myIsInValidate, true); return true; }