Import 2017-06-07 23:51:09: master 6d0d2cbc

Author Committer Branch Timestamp Parent
pinter pinter master 2015-05-08 16:43:51 master 8bd82d4a
Changeset

BUG: Fixed DICOM export crash

Nodes added to subject hierarchy now have a default level of 'Series' unless explicitly specified (if level of a data node is not Series then it cannot be exported to DICOM); Fixed crash when auto-selecting node in the DICOM export window subject hierarchy tree, due to a mismatch in model of given selection index and the model of the tree. Fixed by removing the selection code, as selection is made automatically by setCurrentNode call (it was not like this before; for the record, fixing the mismatch crash is possible by calling mapFromSource function of the sort filter proxy model with the main model index as argument, and setting selection with the sort filter model index)

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

mod - Modules/Loadable/SubjectHierarchy/MRML/vtkMRMLSubjectHierarchyNode.cxx Diff File
mod - Modules/Scripted/DICOMLib/Widgets/qSlicerDICOMExportDialog.cxx Diff File
mod - Modules/Scripted/DICOMLib/Widgets/qSlicerDICOMExportDialog.h Diff File
mod - Modules/Scripted/DICOMLib/Widgets/qSlicerDICOMTagEditorWidget.cxx Diff File