Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6edac8
)
Fix for the issue #2456 : Fatal error when remove part
author
mpv
<mpv@opencascade.com>
Tue, 22 May 2018 12:49:42 +0000
(15:49 +0300)
committer
mpv
<mpv@opencascade.com>
Tue, 22 May 2018 12:49:42 +0000
(15:49 +0300)
src/XGUI/XGUI_DataModel.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_DataModel.cpp
b/src/XGUI/XGUI_DataModel.cpp
index df96b18263b03743221bc073649ff0897d12a64a..2f92a30f22ced17f0157ee800181c593615f0383 100644
(file)
--- a/
src/XGUI/XGUI_DataModel.cpp
+++ b/
src/XGUI/XGUI_DataModel.cpp
@@
-223,8
+223,10
@@
void XGUI_DataModel::processEvent(const std::shared_ptr<Events_Message>& 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 {