[PATCH 1/2] Fix how an input check is disabled (#1062275).
David Shea
dshea at redhat.com
Wed Feb 12 20:05:12 UTC 2014
I did a crummy job of converting the enable/disable functions to a
property, apparently.
---
pyanaconda/ui/gui/spokes/user.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py
index 65c074b..8d045ea 100644
--- a/pyanaconda/ui/gui/spokes/user.py
+++ b/pyanaconda/ui/gui/spokes/user.py
@@ -585,7 +585,7 @@ class UserSpoke(FirstbootSpokeMixIn, NormalSpoke, GUISpokeInputCheckHandler):
# If there is no user set, skip the checks
if not self.username.get_text():
for check in self.checks:
- check.disable()
+ check.enabled = False
if GUISpokeInputCheckHandler.on_back_clicked(self, button):
NormalSpoke.on_back_clicked(self, button)
--
1.8.5.3
More information about the anaconda-patches
mailing list