]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL22424: TC6.3.0: Crash during Delete of geometry objects
authorvsr <vsr@opencascade.com>
Mon, 25 Apr 2011 16:24:12 +0000 (16:24 +0000)
committervsr <vsr@opencascade.com>
Mon, 25 Apr 2011 16:24:12 +0000 (16:24 +0000)
src/SUIT/SUIT_TreeModel.cxx

index 98257d17beda84b35b19d043d2a535a00c6cdb86..ebd69b54af8592abcd40b2fc29309a78c3006517 100755 (executable)
@@ -1541,7 +1541,7 @@ void SUIT_TreeModel::updateItem( SUIT_TreeModel::TreeItem* item )
     return;
   
   // update all columns corresponding to the given data object
-  emit layoutAboutToBeChanged();
+  //emit layoutAboutToBeChanged(); // VSR 25/04/2011: fix crash on delete objects
   QModelIndex firstIdx = index( obj, 0 );
   QModelIndex lastIdx  = index( obj, columnCount() - 1 );
   emit dataChanged( firstIdx, lastIdx );