diff options
author | chiiph <chiiph@chiiphs-MacBook-Air.local> | 2013-06-19 12:58:17 -0300 |
---|---|---|
committer | chiiph <chiiph@chiiphs-MacBook-Air.local> | 2013-06-19 12:58:17 -0300 |
commit | 029033618a56e410d5a6258014c33fb50a640ac4 (patch) | |
tree | 56b2e6c90b3dcd0d38ee44823c079df8407d1b5b /src | |
parent | 86a3fdea70aff978e7f5cf5446a1b7761f2e588a (diff) | |
parent | 1d23bb2d8f5715031bc45f506ac32ce2afa5bfce (diff) |
Merge remote-tracking branch 'ivan/bug/2905_close_app_on_rejected_wizard' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/gui/mainwindow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py index 9fd543bf..5a303830 100644 --- a/src/leap/gui/mainwindow.py +++ b/src/leap/gui/mainwindow.py @@ -299,9 +299,12 @@ class MainWindow(QtGui.QMainWindow): """ if self._wizard is None: self._wizard = Wizard(bypass_checks=self._bypass_checks) - self._wizard.accepted.connect(self._finish_init) + self._wizard.accepted.connect(self._finish_init) + self.setVisible(False) self._wizard.exec_() + # We need this to process any wizard related event + QtCore.QCoreApplication.processEvents() self._wizard = None self.setVisible(True) |