[PATCH] Network spoke: Fix reading of device type from combobox (#947120)
Vratislav Podzimek
vpodzime at redhat.com
Tue Apr 2 14:56:01 UTC 2013
On Tue, 2013-04-02 at 13:56 +0200, Radek Vykydal wrote:
> ---
> pyanaconda/ui/gui/spokes/network.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
> index ec5e076..62de1eb 100644
> --- a/pyanaconda/ui/gui/spokes/network.py
> +++ b/pyanaconda/ui/gui/spokes/network.py
> @@ -511,7 +511,7 @@ class NetworkControlBox(object):
> if rc == 1:
> ai = self.builder.get_object("combobox_add_device").get_active_iter()
> model = self.builder.get_object("liststore_add_device")
> - dev_type = model[ai][1][0]
> + dev_type = model[ai][1]
> self.add_device(dev_type)
>
> def add_device(self, type):
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list