summaryrefslogtreecommitdiff
path: root/src/leap/gui/wizardpage.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui/wizardpage.py')
-rw-r--r--src/leap/gui/wizardpage.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/gui/wizardpage.py b/src/leap/gui/wizardpage.py
index 2138ac7b..b2a00028 100644
--- a/src/leap/gui/wizardpage.py
+++ b/src/leap/gui/wizardpage.py
@@ -27,9 +27,10 @@ class WizardPage(QtGui.QWizardPage):
QtGui.QWizardPage.__init__(self)
self._completed = False
- def set_completed(self):
- self._completed = True
- self.completeChanged.emit()
+ def set_completed(self, val=True):
+ self._completed = val
+ if val:
+ self.completeChanged.emit()
def isComplete(self):
return self._completed