Slicer: 2145-support-for-installing-extension-from-file b70ae3bc

Author Committer Branch Timestamp Parent
sankhesh sankhesh 2145-support-for-installing-extension-from-file 2012-12-24 19:36:19 2145-support-for-installing-extension-from-file 232e681b
Changeset

BUG: Need to check if node is present in scene before referencing

While deleting a node, there could be a reference dangling in the tree view that
needs can cause issues. Check if the node being worked on is present in the MRML
scene before referencing to it.
Fixes issue 2841

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21529 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Widgets/qMRMLSceneModel.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLTreeView.cxx Diff File