|
@@ -792,6 +792,7 @@ bool ctkDICOMModel::setParentData(const QModelIndex &index, const QVariant &valu
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
+#ifdef CHECKABLE_COLUMNS
|
|
|
bool checkedExist = false;
|
|
|
bool partiallyCheckedExist = false;
|
|
|
bool uncheckedExist = false;
|
|
@@ -813,7 +814,6 @@ bool ctkDICOMModel::setParentData(const QModelIndex &index, const QVariant &valu
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#ifdef CHECKABLE_COLUMNS
|
|
|
if(partiallyCheckedExist || (checkedExist && uncheckedExist))
|
|
|
{
|
|
|
node->Data[Qt::CheckStateRole].toUInt() = Qt::PartiallyChecked;
|