X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_DataModel.cpp;h=051402c908ebb3bff6077ce63741c944129af17c;hb=1c3738ae81b02ba62136ac03a53a81a532b95141;hp=64088473747c5ebac9787fc798f75ffb0e4c0a2b;hpb=9be93bf2617cd8084077fce22912f1c28fba7b24;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_DataModel.cpp b/src/XGUI/XGUI_DataModel.cpp index 640884737..051402c90 100644 --- a/src/XGUI/XGUI_DataModel.cpp +++ b/src/XGUI/XGUI_DataModel.cpp @@ -223,8 +223,10 @@ void XGUI_DataModel::processEvent(const std::shared_ptr& theMess int aRow = aRootDoc->size(aGroup, true); if (aGroup == aRootType) { // Process root folder - removeRow(aRow + aNbFolders); - rebuildBranch(aNbFolders, aRow); + // remove optimization due to the issue #2456 + //removeRow(aRow + aNbFolders); + //rebuildBranch(aNbFolders, aRow); + rebuildDataTree(); } else if (aGroup == ModelAPI_Folder::group()) { rebuildDataTree(); } else {