[f19-branch/master] Set environment before selecting it (#971109)
Brian C. Lane
bcl at redhat.com
Tue Jun 11 00:15:32 UTC 2013
From: "Brian C. Lane" <bcl at redhat.com>
self.environment needs to be set before select_iter is calld (it triggers
on_environment_toggled which uses self.environment).
---
pyanaconda/ui/gui/spokes/software.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
index 58a2732..6291fea 100644
--- a/pyanaconda/ui/gui/spokes/software.py
+++ b/pyanaconda/ui/gui/spokes/software.py
@@ -256,9 +256,9 @@ class SoftwareSelectionSpoke(NormalSpoke):
# default if nothing is selected.
if (environment == self.environment) or \
(not self.environment and firstEnvironment):
+ self.environment = environment
sel = self.builder.get_object("environmentSelector")
sel.select_iter(itr)
- self.environment = environment
firstEnvironment = False
--
1.8.1.4
More information about the anaconda-patches
mailing list