[PATCH 2/3] Sync up hidden/unhidden disks between the UI and storage module (#864180).

Chris Lumens clumens at redhat.com
Tue Oct 9 19:49:55 UTC 2012


Otherwise, the resize dialog is going to be referencing devices that are hidden
in the devicetree, which makes them basically not exist.
---
 pyanaconda/ui/gui/spokes/storage.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 747c5f3..cda59a6 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -665,6 +665,8 @@ class StorageSpoke(NormalSpoke, StorageChecker):
             if dialog.custom:
                 self.skipTo = "CustomPartitioningSpoke"
             else:
+                self.apply()
+
                 resizeDialog = ResizeDialog(self.data, self.storage, self.payload)
                 resizeDialog.refresh(disks)
 
-- 
1.7.11.2



More information about the anaconda-patches mailing list