Consider the following two workflows:
I)
- Open MITK Workbench
- Load a Dicom image via drag&drop
- Double-click it in the datamanager
II)
- Open MITK Workbench
- Load a Dicom image via the DICOM Browser
- Double-click it in the datamanager
One would assume:
a) They will have the same default name before renaming
b) One will be able to rename both after the double click
This is not so. Instead the names will be different and I is renamable, II is not. This is due to
QVariant QmitkDataStorageTreeModel::data( const QModelIndex & index, int role ) const
where it is checked whether the node has
dicom.series.SeriesDescription
dicom.study.StudyDescription
dicom.patient.PatientsName
if that is the case the displayed node name is build from them and not editable (II). If not (I, as the properties are added to the BaseData instead of the DataNode) the generated name is used. For (II) the name property is not used at all. You can still change the displayed name by editing the dicom. properties, this is however not desirable.