From: vsv Date: Fri, 18 Sep 2015 14:52:31 +0000 (+0300) Subject: Issue #999: Clear selection of deactivated objects X-Git-Tag: V_1.4.0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d840e491027b1586b200eefe5db878be35180cf2;p=modules%2Fshaper.git Issue #999: Clear selection of deactivated objects --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 5a61d0017..7f5932011 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -974,6 +974,7 @@ void XGUI_Displayer::activate(const Handle(AIS_InteractiveObject)& theIO, } if (isDeactivated) { // the selection from the previous activation modes should be cleared manually (#26172) + theIO->ClearSelected(); aContext->LocalContext()->ClearOutdatedSelection(theIO, true); if (theUpdateViewer) updateViewer();