From: ouv Date: Wed, 8 Feb 2012 12:29:47 +0000 (+0000) Subject: setSelection() has been corrected to allow selection of multiple sub-elements at... X-Git-Tag: CTH_1_7_3~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0eb7af4ab1744319f815402259cc30c376d074b;p=modules%2Fgui.git setSelection() has been corrected to allow selection of multiple sub-elements at once --- diff --git a/src/LightApp/LightApp_VTKSelector.cxx b/src/LightApp/LightApp_VTKSelector.cxx index 6127a5a97..daabe9817 100644 --- a/src/LightApp/LightApp_VTKSelector.cxx +++ b/src/LightApp/LightApp_VTKSelector.cxx @@ -249,7 +249,8 @@ LightApp_VTKSelector anAppendList.Append(anIO); TColStd_IndexedMapOfInteger aMap; aMap.Add( anOwner->index() ); - aSelector->AddOrRemoveIndex( anIO,aMap, false ); + // ouv: false has been replaced to true to allow selection of multiple sub-elements + aSelector->AddOrRemoveIndex( anIO,aMap, true ); }else if(const LightApp_DataOwner* anOwner = dynamic_cast(aDataOwner)){ Handle(SALOME_InteractiveObject) anIO = new SALOME_InteractiveObject(anOwner->entry().toLatin1(),"");