---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 7b1a3f6..c1b6064 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1205,7 +1205,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
old_device = device
# if the encryption is on member devices it was handled above
- if device.exists or factory.encrypt_leaves:
+ if changed_encryption and (device.exists or factory.encrypt_leaves):
if prev_encrypted and not encrypted:
log.info("removing encryption from %s" % device.name)
with ui_storage_logger():
--
1.7.7.6