]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Added comment
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 20 Aug 2015 11:44:57 +0000 (14:44 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 20 Aug 2015 13:30:57 +0000 (16:30 +0300)
src/XGUI/XGUI_DataModel.cpp

index bba968407ebef090e0787c263d7b1a35d92cdfb1..40e5c81367806e2809527588028dc14e13a4dfcd 100644 (file)
@@ -506,6 +506,7 @@ QModelIndex XGUI_DataModel::parent(const QModelIndex& theIndex) const
     ObjectPtr aObj = object(theIndex);
     if (!aObj.get()) {
       // To avoid additional request about index which was already deleted
+      // If deleted it causes a crash on delete object from Part
       MYLastDeleted = theIndex;
       return QModelIndex();
     }