Import 2017-06-07 23:51:09: master 594fe765

Author Committer Branch Timestamp Parent
pinter pinter master 2014-12-12 13:20:51 master a7421fc9
Affected Issues 0003918: deleting a hierarchy in Models module crashes slicer
Changeset

BUG: Subject hierarchy does not try to remove non-SH hierarchy nodes when data node is deleted

When a (non-SH) node is removed, the related subject hierarchy node is removed with it, so that it's not left dangling and become invalid. Previously the occasional other type hierarchy nodes were removed as well. This has caused problems when deleting the nodes in other modules handling hierarchies due to different handling of node deletion, so this feature has been removed.

Fixes 0003918

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

mod - Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyPluginLogic.cxx Diff File