X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_GroupDlg.cxx;h=24246eec6491fef2abead7bca158318204ba99af;hp=1fbdabfad59f94b6d3a1fe2f3971efa80b47821b;hb=4efe224f007a530134d8db76d132fdc99e7cf144;hpb=72c8afe5818c96f15a157aaa5b98f53db58a4a84 diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 1fbdabfad..24246eec6 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -19,11 +19,11 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESHGUI : GUI for SMESH component -// File : SMESHGUI_GroupDlg.cxx -// Author : Natalia KOPNOVA, Open CASCADE S.A.S. -// SMESH includes -// +// SMESH SMESHGUI : GUI for SMESH component +// File : SMESHGUI_GroupDlg.cxx +// Author : Natalia KOPNOVA, Open CASCADE S.A.S. +// SMESH includes + #include "SMESHGUI_GroupDlg.h" #include "SMESHGUI.h" @@ -592,7 +592,7 @@ void SMESHGUI_GroupDlg::init (SMESH::SMESH_GroupBase_ptr theGroup, myGeomGroupLine->setText( aShapeName ); myNameChanged = true; myName->blockSignals(true); - myName->setText( "Group On " + aShapeName); + myName->setText(theGroup->GetName()); myName->blockSignals(false); } updateButtons(); @@ -2206,7 +2206,7 @@ bool SMESHGUI_GroupDlg::SetAppropriateActor() // any visible actor, that belongs to group or submesh of current mesh vtkActorCollection *aCollection = aViewWindow->getRenderer()->GetActors(); int nbItems = aCollection->GetNumberOfItems(); - for (int i=0; i(aCollection->GetItemAsObject(i)); if (anActor && anActor->hasIO()) {