From: mzn Date: Thu, 28 Jul 2005 11:03:00 +0000 (+0000) Subject: Fix for Bug IPAL9624 ( 3.0.0(current2807): SMESH: name of submesh and group ). X-Git-Tag: V3_0_1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=324d59661346b43c26a3a5d1b10e5aab7242ca37;p=modules%2Fsmesh.git Fix for Bug IPAL9624 ( 3.0.0(current2807): SMESH: name of submesh and group ). --- diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx index a773c49ac..71a953d18 100755 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx @@ -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 =