---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 6fa2f95..a8fda8c 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -803,7 +803,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
""" Add an entry for device to the new install Page.
"""
page =
self._accordion._find_by_title(self.translated_new_install_name).get_child()
devices = [device]
- if page.members:
+ if not page.members:
# remove the CreateNewPage and replace it with a regular Page
expander = self._accordion._find_by_title(self.translated_new_install_name)
expander.remove(expander.get_child())
--
1.8.1.2