diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2012-09-05 13:42:17 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2012-09-10 14:34:45 +0200 |
commit | 8247c9afcaace7ec51f133d054f04c16e4540b8b (patch) | |
tree | 30668084daca94d5b3feb7bed0dc8dd51a9be597 /pyanaconda/ui/gui/spokes/network.py | |
parent | f1396352f23f97b8d6036f9893df67469418fec4 (diff) | |
download | anaconda-8247c9afcaace7ec51f133d054f04c16e4540b8b.tar.gz anaconda-8247c9afcaace7ec51f133d054f04c16e4540b8b.tar.xz anaconda-8247c9afcaace7ec51f133d054f04c16e4540b8b.zip |
network spoke: clear device info if no network devices are found (#853903)
Diffstat (limited to 'pyanaconda/ui/gui/spokes/network.py')
-rw-r--r-- | pyanaconda/ui/gui/spokes/network.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py index 9a862aa66..6d72052b5 100644 --- a/pyanaconda/ui/gui/spokes/network.py +++ b/pyanaconda/ui/gui/spokes/network.py @@ -575,7 +575,10 @@ class NetworkControlBox(): del(row) def refresh_ui(self, device, read_config_values=True): + if not device: + notebook = self.builder.get_object("notebook_types") + notebook.set_current_page(5) return self._refresh_device_type_page(device) |