[PATCH 2/3] Apply changes in disk selection even if not reclaiming space

Vratislav Podzimek vpodzime at redhat.com
Thu Sep 11 14:05:08 UTC 2014


If we don't run any dialog and user didn't requested reclaiming space we should
still apply disk selection in the Storage spoke.

Related: rhbz#1085201
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/spokes/storage.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 220bb14..2a48fca 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -823,9 +823,10 @@ class StorageSpoke(NormalSpoke, StorageChecker):
                 if not self._check_encrypted():
                     return
 
+                self.apply()
+
                 # Oh and then we might also want to go to the reclaim dialog.
                 if self._reclaim.get_active():
-                    self.apply()
                     if not self._show_resize_dialog(disks):
                         # User pressed cancel on the reclaim dialog, so don't leave
                         # the storage spoke.
-- 
1.9.3



More information about the anaconda-patches mailing list