[master 8/20] libnm in spoke: refresh early when device is added

rvykydal installerbot-noreply at redhat.com
Mon Aug 31 14:55:51 UTC 2015


From: Radek Vykydal <rvykydal at redhat.com>

---
 pyanaconda/ui/gui/spokes/network.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 687cfc0..c8ae679 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -705,6 +705,8 @@ def add_device_to_list(self, device):
             # If we already have a connection for the device
             # it is a virtual device appearing
             self.dev_cfg(uuid=con.get_uuid()).device = device
+            # it might be too late for the callbacks below so refresh now
+            self.refresh_ui()
         else:
             self.add_dev_cfg(DeviceConfiguration(device=device, con=con))
 


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


More information about the anaconda-patches mailing list