Salome HOME
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
authoreap <eap@opencascade.com>
Mon, 27 Jun 2011 07:57:51 +0000 (07:57 +0000)
committereap <eap@opencascade.com>
Mon, 27 Jun 2011 07:57:51 +0000 (07:57 +0000)
  fix bug of editing a not standalone group

src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index eac52ffe464ff8ed896b17b59e3c057914559f1c..45cc20e6ba1088f2abbc1eb289ff38ffbb9dfc1c 100644 (file)
@@ -1113,7 +1113,7 @@ bool SMESHGUI_GroupDlg::onApply()
     }
     else
     {
-      myGroup->SetName(myName->text().toLatin1().data());
+      resultGroup->SetName(myName->text().toLatin1().data());
 
       if ( aMeshGroupSO )
         if(SMESH_Actor *anActor = SMESH::FindActorByEntry(aMeshGroupSO->GetID().c_str())) {