]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection
authorouv <ouv@opencascade.com>
Thu, 12 Jan 2006 08:51:20 +0000 (08:51 +0000)
committerouv <ouv@opencascade.com>
Thu, 12 Jan 2006 08:51:20 +0000 (08:51 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index c573e5673f1aff3fe8f4e19decef239e4a75e423..b9396313bb87e81b284c3e58874978770855a78d 100644 (file)
@@ -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;
   }