Import 2017-06-07 23:51:09: master 14292f78

Author Committer Branch Timestamp Parent
pinter pinter master 2017-03-31 12:26:29 master b171786f
Changeset

BUG: Fixed randomizing order of dropped items in subject hierarchy

If multiple items were selected, and drag&dropped under a new parent, the order of the items under the new parent was randomized (to reproduce it was enough to load several MRHeads, drop them under a study in one move, then invoking DICOM export on the study - the items were in random order). Now it is fixed, and the order is preserved. Code complexity also decreased slightly.

Also style fix in terminology logic, and minor fix in DICOM export dialog UI

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

mod - Libs/MRML/Core/vtkMRMLSubjectHierarchyNode.cxx Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/qMRMLSubjectHierarchyModel.cxx Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/qMRMLSubjectHierarchyModel_p.h Diff File
mod - Modules/Loadable/Terminologies/Logic/vtkSlicerTerminologiesModuleLogic.cxx Diff File
mod - Modules/Scripted/DICOMLib/Widgets/Resources/UI/qSlicerDICOMExportDialog.ui Diff File