]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetSelector.cpp
Salome HOME
#1581 crash when create fillet
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetSelector.cpp
index bd0dd48d2c84682a5ba7ef94c1661a65d6c8731c..7e0eb3f0f80fd7985baa43b28af771873f02445a 100755 (executable)
@@ -195,8 +195,7 @@ bool ModuleBase_WidgetSelector::setSelectionCustom(const ModuleBase_ViewerPrsPtr
   getGeomSelection(thePrs, anObject, aShape);
 
   // 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;
+  return ModuleBase_Tools::setObject(attribute(), anObject, aShape, myWorkshop, myIsInValidate, true);
 }
 
 //********************************************************************