From: nds Date: Thu, 30 Apr 2015 20:06:09 +0000 (+0300) Subject: Restore selection in the viewer by multi selector widget activation. X-Git-Tag: V_1.2.0~174 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6f77dfcd9833cdba0c583e6218350f1f7043eb8b;p=modules%2Fshaper.git Restore selection in the viewer by multi selector widget activation. --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 430556d29..3ec1a2105 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -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); } }