Browse Source

BUG: fix (another) dialog parent for dicom stats

Follow on to commit [1] to apply the same fix to another instance of the dialog.

Thanks to Csaba for catching this!

[1] https://github.com/commontk/CTK/commit/8a25a0628b72b04d2d6f5a0bebc18f6519fe2074
Steve Pieper 7 years ago
parent
commit
6f7b834100
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libs/DICOM/Widgets/ctkDICOMBrowser.cpp

+ 1 - 1
Libs/DICOM/Widgets/ctkDICOMBrowser.cpp

@@ -724,7 +724,7 @@ void ctkDICOMBrowser::importDirectory(QString directory, ctkDICOMBrowser::Import
   d->importDirectory(directory, mode);
   if (d->DisplayImportSummary)
     {
-    QMessageBox::information(this,"DICOM Directory Import", stats.summary());
+    QMessageBox::information(d->ImportDialog,"DICOM Directory Import", stats.summary());
     }
 }