]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix of IPAL19661 (Qt4 porting. Merge Nodes (Elements).Edit selected group.Selection...
authorakl <akl@opencascade.com>
Thu, 24 Apr 2008 11:46:09 +0000 (11:46 +0000)
committerakl <akl@opencascade.com>
Thu, 24 Apr 2008 11:46:09 +0000 (11:46 +0000)
src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx

index fd7ce10f04ff1d839fe1be57f67a0c85f111bb4c..1a1c4ae0197589346c0090518d2da51e10888398 100644 (file)
@@ -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);
 }
 
 //=================================================================================