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:
e0d688a
)
Fix for the issue #1928
author
mpv
<mpv@opencascade.com>
Thu, 15 Dec 2016 05:39:53 +0000
(08:39 +0300)
committer
mpv
<mpv@opencascade.com>
Thu, 15 Dec 2016 05:39:53 +0000
(08:39 +0300)
src/Model/Model_Session.cpp
patch
|
blob
|
history
diff --git
a/src/Model/Model_Session.cpp
b/src/Model/Model_Session.cpp
index 4c98ca45008c8c01e0067c8276b54a6887102409..5bb981ea3b907559f97d3f920e5dbec30fde4a5d 100644
(file)
--- a/
src/Model/Model_Session.cpp
+++ b/
src/Model/Model_Session.cpp
@@
-422,7
+422,8
@@
void Model_Session::processEvent(const std::shared_ptr<Events_Message>& theMessa
}
}
if (!aFound) { // if not, the part was removed, so activate the module document
- setActiveDocument(moduleDocument());
+ if (myCurrentDoc.get())
+ setActiveDocument(moduleDocument());
}
}
}