Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve update of object browser
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_DataModel.cpp
diff --git
a/src/XGUI/XGUI_DataModel.cpp
b/src/XGUI/XGUI_DataModel.cpp
index 7da65684d112a024bfa6b9f37ade0a19edb5a5ea..a6aa8cba1b20515955ada266dc8707b785285836 100644
(file)
--- a/
src/XGUI/XGUI_DataModel.cpp
+++ b/
src/XGUI/XGUI_DataModel.cpp
@@
-68,6
+68,8
@@
void XGUI_DataModel::processEvent(const std::shared_ptr<Events_Message>& theMess
if ((*aIt)->isInHistory())
aCreated.append(*aIt);
}
+ if (aCreated.length() == 0)
+ return;
QTreeNodesList aNodes = myRoot->objectCreated(aCreated);
ModuleBase_ITreeNode* aParent;
int aRow = 0;