]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Restore selection in the viewer by multi selector widget activation.
authornds <natalia.donis@opencascade.com>
Thu, 30 Apr 2015 20:06:09 +0000 (23:06 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 30 Apr 2015 20:06:09 +0000 (23:06 +0300)
src/XGUI/XGUI_Displayer.cpp

index 430556d295d9c5e2e8bc5d8e79750747343a9bde..3ec1a2105d78001a736027174bea997927a1acd0 100644 (file)
@@ -433,6 +433,7 @@ void XGUI_Displayer::setSelected(const QObjectPtrList& theResults, const bool is
           // by activating multi selector widget. It also gives an advantage that the multi
           // selection in OB gives multi-selection in the viewer
           //aContext->SetSelected(anAIS, false);
+          // The selection in the context was cleared, so the method sets the objects are selected
           aContext->AddOrRemoveSelected(anAIS, false);
         }
       }