[PATCH] Only allow changing filesystem type if the reformat combo is checked (#885906).

Chris Lumens clumens at redhat.com
Tue Dec 11 17:54:17 UTC 2012


We were doing fine at this except for one case, where the contents of the
customize combo are displayed for the first time.
---
 pyanaconda/ui/gui/spokes/custom.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 048b0dc..78047a9 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2408,6 +2408,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
 
         fsCombo.set_active(active_index)
         fsCombo.set_sensitive(self._reformatCheckbox.get_sensitive() and
+                              self._reformatCheckbox.get_active() and
                               fs_type_sensitive)
         # end btrfs magic
 
-- 
1.7.11.2



More information about the anaconda-patches mailing list