]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Objects of class SUIT_DataObject deleted by method deleteLater() instead operator...
authorstv <stv@opencascade.com>
Tue, 29 Aug 2006 11:47:38 +0000 (11:47 +0000)
committerstv <stv@opencascade.com>
Tue, 29 Aug 2006 11:47:38 +0000 (11:47 +0000)
src/LightApp/LightApp_DataModel.cxx

index 9fe3b086adcae75c24f3cbfe3812f1e0f818b1e7..6c113382aa1a4f64b284915b98e2c2bfca496aa8 100644 (file)
@@ -119,7 +119,7 @@ void LightApp_DataModel::update( LightApp_DataObject*, LightApp_Study* )
   build();
   updateWidgets();
   for( DataObjectListIterator it( ch ); it.current(); ++it )
-    delete it.current();
+    it.current()->deleteLater();
 }
 
 /*!