From 6f77dfcd9833cdba0c583e6218350f1f7043eb8b Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 30 Apr 2015 23:06:09 +0300 Subject: [PATCH] Restore selection in the viewer by multi selector widget activation. --- src/XGUI/XGUI_Displayer.cpp | 1 + 1 file changed, 1 insertion(+) 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); } } -- 2.39.2