summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-11-19 17:30:41 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-11-20 11:00:21 -0300
commitf174d94e00b0619c4f5dfde769e76209823702a3 (patch)
treebe9af32f754d13a7584a6701a26bcaef8db26aa0 /src
parent307bf9e5512d3e2037078b5722f9f9c8879e5446 (diff)
Add providers even if the wizard is rejected.
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index ac73e08b..ce4290a4 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -367,8 +367,11 @@ class MainWindow(QtGui.QMainWindow):
# if we don't have any provider configured (included a pinned
# one) we can't use the application, so quit.
self.quit()
-
- self.eip_needs_login.emit()
+ else:
+ # This happens if the user finishes the provider
+ # setup but does not register
+ self._wizard = None
+ self._finish_init()
def _launch_wizard(self):
"""