diff --git a/analysis/filter/StructureModifier/src/main/kotlin/de/maibornwolff/codecharta/filter/structuremodifier/StructureModifier.kt b/analysis/filter/StructureModifier/src/main/kotlin/de/maibornwolff/codecharta/filter/structuremodifier/StructureModifier.kt index cf600736b5..eb795ebeb0 100644 --- a/analysis/filter/StructureModifier/src/main/kotlin/de/maibornwolff/codecharta/filter/structuremodifier/StructureModifier.kt +++ b/analysis/filter/StructureModifier/src/main/kotlin/de/maibornwolff/codecharta/filter/structuremodifier/StructureModifier.kt @@ -102,7 +102,7 @@ class StructureModifier( var actionCount = 0 actionCount += if (setRoot != null) 1 else 0 actionCount += if (printLevels != null) 1 else 0 - actionCount += if (moveFrom != null) 1 else 0 + actionCount += if (moveFrom != null || moveTo != null) 1 else 0 actionCount += if (remove.isNotEmpty()) 1 else 0 return actionCount > 1 }