From: vsv Date: Fri, 5 Dec 2014 10:26:50 +0000 (+0300) Subject: Clear selection on Close/Open context X-Git-Tag: V_0.6.0^2~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fbae310d26c8580ddf51f978a24c74f2bc6e3bc4;p=modules%2Fshaper.git Clear selection on Close/Open context --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index a65875761..427d83fbb 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -345,7 +345,7 @@ void XGUI_Displayer::openLocalContext() // in the closeLocalContex, which restore the global context filters aContext->RemoveFilters(); - //aContext->ClearCurrents(); + aContext->ClearCurrents(); aContext->OpenLocalContext(); aContext->NotUseDisplayedObjects(); @@ -378,7 +378,7 @@ void XGUI_Displayer::closeLocalContexts(const bool isUpdateViewer) SelectMgr_ListOfFilter aFilters; aFilters.Assign(aContext->Filters()); - //aContext->ClearSelected(); + aContext->ClearSelected(); aContext->CloseAllContexts(false); // Redisplay all object if they were displayed in localContext