From: sln Date: Wed, 26 Nov 2008 15:30:36 +0000 (+0000) Subject: 0019939: EDF 762 SMESH : Definition of groups from other existing groups X-Git-Tag: Phase8_Part1_16122008~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4afe0574633ad838b000ae3f8b25657568de4cee;p=modules%2Fsmesh.git 0019939: EDF 762 SMESH : Definition of groups from other existing groups onAdd() method is fixed in order to provide valid reaction on group created on geometry --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 19af7e001..884373dcf 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -1563,8 +1563,8 @@ void SMESHGUI_GroupDlg::onAdd() SALOME_ListIteratorOfListIO anIt (aList); for ( ; anIt.More(); anIt.Next()) { - SMESH::SMESH_Group_var aGroup = - SMESH::IObjectToInterface(anIt.Value()); + SMESH::SMESH_GroupBase_var aGroup = + SMESH::IObjectToInterface(anIt.Value()); if (!aGroup->_is_nil()) { // check if mesh is the same if (aGroup->GetType() == aType && aGroup->GetMesh()->GetId() == myMesh->GetId()) {