From: ouv Date: Thu, 12 Jan 2006 08:51:20 +0000 (+0000) Subject: Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f99cf3454c6508dc6265171887cdf5cad28ccbb;p=modules%2Fsmesh.git Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index c573e5673..b9396313b 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -562,14 +562,14 @@ void SMESHGUI_GroupDlg::setSelectionMode (int theMode) aViewWindow->SetSelectionMode(VolumeSelection); } } else { - if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI )) - aViewWindow->SetSelectionMode(ActorSelection); if (theMode == 4) mySelectionMgr->installFilter(mySubMeshFilter); else if (theMode == 5) mySelectionMgr->installFilter(myGroupFilter); else if (theMode == 6) mySelectionMgr->installFilter(myMeshFilter); + if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI )) + aViewWindow->SetSelectionMode(ActorSelection); } mySelectionMode = theMode; }