From 324d59661346b43c26a3a5d1b10e5aab7242ca37 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 28 Jul 2005 11:03:00 +0000 Subject: [PATCH] Fix for Bug IPAL9624 ( 3.0.0(current2807): SMESH: name of submesh and group ). --- src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = -- 2.39.2