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:
7f33072
)
Improve update of object browser
author
vsv
<vsv@opencascade.com>
Wed, 17 Apr 2019 11:40:18 +0000
(14:40 +0300)
committer
vsv
<vsv@opencascade.com>
Wed, 17 Apr 2019 11:40:18 +0000
(14:40 +0300)
src/XGUI/XGUI_DataModel.cpp
patch
|
blob
|
history
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;