From: akl Date: Thu, 24 Apr 2008 11:46:09 +0000 (+0000) Subject: Fix of IPAL19661 (Qt4 porting. Merge Nodes (Elements).Edit selected group.Selection... X-Git-Tag: V5_0_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d05cb1cde618eff98caad711d6140437baaa3a3f;p=modules%2Fsmesh.git Fix of IPAL19661 (Qt4 porting. Merge Nodes (Elements).Edit selected group.Selection of elements differs). --- diff --git a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx index fd7ce10f0..1a1c4ae01 100644 --- a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx @@ -684,8 +684,9 @@ void SMESHGUI_EditMeshDlg::onEditGroup() for (int i = 0; i < ListEdit->count(); i++ ) aNewIds.append(ListEdit->item(i)->text()); - ListCoincident->currentItem()->setText(aNewIds.join(" ")); - ListCoincident->currentItem()->setSelected(true); + ListCoincident->clearSelection(); + selItems.first()->setText(aNewIds.join(" ")); + selItems.first()->setSelected(true); } //=================================================================================