Forráskód Böngészése

expansion of nested items in the tree is added

Alireza Mehrtash 11 éve
szülő
commit
37f49865e7

+ 1 - 1
Libs/DICOM/Core/Testing/Cpp/ctkDICOMObjectModelTest1.cpp

@@ -3,7 +3,7 @@
   Library: CTK
 
   Copyright (c) Brigham and Women's Hospital (BWH).
-  Copyright (c) University of Sheffield
+  Copyright (c) University of Sheffield.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.

+ 1 - 0
Libs/DICOM/Widgets/ctkDICOMObjectListWidget.cpp

@@ -70,6 +70,7 @@ void ctkDICOMObjectListWidgetPrivate::populateDICOMObjectTreeView(const QString&
   std::cerr << "fileName is =" << fileName.toUtf8().constData() << "\n";
   this->dcmObjectTreeView->reset();
   this->dcmObjectTreeView->setModel( dcmObjModel);
+  this->dcmObjectTreeView->expandAll();
 }
 
 //----------------------------------------------------------------------------