From: vsv Date: Thu, 20 Aug 2015 11:44:57 +0000 (+0300) Subject: Added comment X-Git-Tag: V_1.4.0_beta4~306 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e8fbed212f961aa365c804c0b877f7139656fa69;p=modules%2Fshaper.git Added comment --- diff --git a/src/XGUI/XGUI_DataModel.cpp b/src/XGUI/XGUI_DataModel.cpp index bba968407..40e5c8136 100644 --- a/src/XGUI/XGUI_DataModel.cpp +++ b/src/XGUI/XGUI_DataModel.cpp @@ -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(); }