[PATCH] Deselect any existing environment when selecting a new one (#851510).
Jesse Keating
jkeating at redhat.com
Tue Sep 4 20:58:20 UTC 2012
On 09/04/2012 01:56 PM, Chris Lumens wrote:
> ---
> pyanaconda/ui/gui/spokes/software.py | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
> index b6728b7..54e31f5 100644
> --- a/pyanaconda/ui/gui/spokes/software.py
> +++ b/pyanaconda/ui/gui/spokes/software.py
> @@ -243,6 +243,10 @@ class SoftwareSelectionSpoke(NormalSpoke):
> def on_environment_chosen(self, blah):
> if not self._selectFlag:
> return
> +
> + if self.environment:
> + self.payload.deselectEnvironment(self.environment)
> +
> row = self._get_selected_environment()
> if row:
> self.environment = row[2]
>
ACK.
--
Jesse Keating
Fedora -- FreedomĀ² is a feature!
More information about the anaconda-patches
mailing list