]> Creatis software - clitk.git/blobdiff - vv/vvMainWindow.cxx
Allow to retrieve and display multiple series.
[clitk.git] / vv / vvMainWindow.cxx
index c07100df0d224d7230864b849bf7f59242f2f5f7..a566c3aa96bed30fa99bb5e958efdb71937b1f26 100644 (file)
@@ -762,8 +762,11 @@ void vvMainWindow::ConnectPacs()
 
   //std::cout << "dicomSeriesSelector " << std::endl;
 if (PacsConnection->exec() == QDialog::Accepted) {
-       files = PacsConnection->getFileNames();
-    LoadImages(files, vvImageReader::DICOM);
+       for (int i = 0; i < PacsConnection->getSeriesCount(); i++)
+       {
+               files = PacsConnection->getFileNames(i);
+               LoadImages(files, vvImageReader::DICOM);
+       }
        PacsConnection->clearMove();
   }
   }