[master] Clear Update Settings when Done clicked (#1167014)

Vratislav Podzimek vpodzime at redhat.com
Mon Nov 24 19:34:22 UTC 2014


On Mon, 2014-11-24 at 10:39 -0800, Brian C. Lane wrote:
> If the right side needs to be saved clicking Done handles that, but it
> doesn't clear the button state. This blocks exiting the spoke on the 2nd
> click until it is pressed.
> ---
>  pyanaconda/ui/gui/spokes/custom.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index 77f3414..f11255f 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -1512,6 +1512,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
>  
>          # Save anything from the currently displayed mountpoint.
>          self._save_right_side(self._current_selector)
> +        self._applyButton.set_sensitive(False)
>  
>          # And then display the summary screen.  From there, the user will either
>          # head back to the hub, or stay on the custom screen.
Ooops, ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list