diff options
author | kali <kali@leap.se> | 2012-11-19 23:23:50 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-19 23:23:50 +0900 |
commit | 7ab2ea1adb82d8c1c6bbae4dc58a157326f579a2 (patch) | |
tree | 85b718a81338f5c03ba0d8bfb91db33506bef5c6 | |
parent | 4153bee65d2541b99d4e41aaaf2fd6b2b71b2cc3 (diff) |
set commit page (no back button after validation)
-rw-r--r-- | src/leap/gui/firstrun/register.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/gui/firstrun/register.py b/src/leap/gui/firstrun/register.py index e1a8149c..f872a127 100644 --- a/src/leap/gui/firstrun/register.py +++ b/src/leap/gui/firstrun/register.py @@ -29,6 +29,13 @@ class RegisterUserPage(QtGui.QWizardPage, UserFormMixIn): self.current_page = "signup" + # commit page means there's no way back after this... + # XXX should change the text on the "commit" button... + self.setCommitPage(True) + + self.initUI() + + def initUI(self): userNameLabel = QtGui.QLabel("User &name:") userNameLineEdit = QtGui.QLineEdit() userNameLineEdit.cursorPositionChanged.connect( |