|
@@ -413,7 +413,7 @@ void ctkDICOMAppWidget::onImportDirectory(QString directory)
|
|
{
|
|
{
|
|
QCheckBox* copyOnImport = qobject_cast<QCheckBox*>(d->ImportDialog->bottomWidget());
|
|
QCheckBox* copyOnImport = qobject_cast<QCheckBox*>(d->ImportDialog->bottomWidget());
|
|
QString targetDirectory;
|
|
QString targetDirectory;
|
|
- if (copyOnImport->isEnabled())
|
|
|
|
|
|
+ if (copyOnImport->checkState() == Qt::Checked)
|
|
{
|
|
{
|
|
targetDirectory = d->DICOMDatabase->databaseDirectory();
|
|
targetDirectory = d->DICOMDatabase->databaseDirectory();
|
|
}
|
|
}
|