[rhel7-branch 1/1] Refresh advanced disks after disk summary dialog (#1226354)

bcl installerbot-noreply at redhat.com
Thu Jul 2 21:53:06 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

The advanced list of disks wasn't being refreshed after exiting the
disk summary dialog. The storage spoke was not updated when removing
a disk with the dialog.

Resolves: rhbz#1226354
---
 pyanaconda/ui/gui/spokes/storage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 2b19eb7..4dfe4c4 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -699,7 +699,7 @@ def on_summary_clicked(self, button):
         self.selected_disks = [d.name for d in dialog.disks]
 
         # update the UI to reflect changes to self.selected_disks
-        for overview in self.localOverviews:
+        for overview in self.localOverviews + self.advancedOverviews:
             name = overview.get_property("name")
 
             overview.set_chosen(name in self.selected_disks)


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/8c9a0ba6ae7ca6d7ed93447871ee77d85676b891


More information about the anaconda-patches mailing list