Fix for Bug IPAL9624 ( 3.0.0(current2807): SMESH: name of submesh and group ).

This commit is contained in:
mzn 2005-07-28 11:03:00 +00:00
parent 4d8ffa8fc3
commit 324d596613

View File

@ -404,7 +404,9 @@ void SMESHGUI_MultiEditDlg::onSelectionDone()
QLineEdit* aNameEdit = mySubmeshChk->isChecked() ? mySubmesh : myGroup;
if (nbSel == 1) {
Handle(SALOME_InteractiveObject) anIO = aList.First();
anIO.IsNull() ? aNameEdit->clear() : aNameEdit->setText(anIO->getName());
QString aName = "";
SMESH::GetNameOfSelectedIObjects(mySelectionMgr, aName);
anIO.IsNull() ? aNameEdit->clear() : aNameEdit->setText(aName);
if (mySubmeshChk->isChecked()) {
SMESH::SMESH_subMesh_var aSubMesh =