]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Merge branch 'BR_v14_rc' of ssh://git.salome-platform.org/modules/hydro into BR_v14_rc
authorisn <isn@opencascade.com>
Fri, 19 Jun 2015 08:19:43 +0000 (11:19 +0300)
committerisn <isn@opencascade.com>
Fri, 19 Jun 2015 08:19:43 +0000 (11:19 +0300)
Conflicts:
src/HYDROGUI/HYDROGUI_ObjListBox.cxx

1  2 
src/HYDROGUI/HYDROGUI_ObjListBox.cxx

index 3eef3832255dc72971ce6af02c3006751988d8e6,f63b7fdfe86716f33689b04064d5177e6b9ab413..8547e8faf5bdd543f7519a486fbae2541effabbb
@@@ -121,7 -123,12 +123,8 @@@ void HYDROGUI_ObjListBox::OnExclude(
  {
    QList<QListWidgetItem*> aSelection = myList->selectedItems();
    foreach( QListWidgetItem* anItem, aSelection )
 -  {
 -    int anIndex = myList->row( anItem );
 -    myList->takeItem( anIndex );
 -    mySelection.Remove( anIndex, anIndex );
 -  }
 +    delete anItem;
+   emit selectionChanged();
  }
  
  void HYDROGUI_ObjListBox::Append( const HYDROData_SequenceOfObjects& theObjects )