summaryrefslogtreecommitdiff
path: root/src/leap/gui/firstrun/wizard.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui/firstrun/wizard.py')
-rwxr-xr-xsrc/leap/gui/firstrun/wizard.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/gui/firstrun/wizard.py b/src/leap/gui/firstrun/wizard.py
index 8efa2018..4a72177e 100755
--- a/src/leap/gui/firstrun/wizard.py
+++ b/src/leap/gui/firstrun/wizard.py
@@ -170,6 +170,11 @@ class FirstRunWizard(QtGui.QWizard):
def set_validation_error(self, pagename, error):
self.validation_errors[pagename] = error
+ def clean_validation_error(self, pagename):
+ vald = self.validation_errors
+ if pagename in vald:
+ del vald[pagename]
+
def get_validation_error(self, pagename):
return self.validation_errors.get(pagename, None)