From a9025db7fac32a983a87a9365cba1cef884e9038 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 21 Apr 2016 15:49:29 +0300 Subject: [PATCH] This change causes crash on create Part --- src/XGUI/XGUI_DataModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XGUI/XGUI_DataModel.cpp b/src/XGUI/XGUI_DataModel.cpp index 47c0af292..585f773b2 100644 --- a/src/XGUI/XGUI_DataModel.cpp +++ b/src/XGUI/XGUI_DataModel.cpp @@ -234,10 +234,10 @@ void XGUI_DataModel::processEvent(const std::shared_ptr& theMess QModelIndex aIndex = objectIndex(aObject); if (aIndex.isValid()) { emit dataChanged(aIndex, aIndex); - } else { + }/* else { rebuildDataTree(); break; - } + }*/ } else { rebuildDataTree(); break; -- 2.39.2