diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-10-03 14:13:08 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-10-03 14:13:08 -0300 |
commit | e4d381e4235436c039951ff7af88af608ac18d3d (patch) | |
tree | 564a24fdb548e00c038a0cd4d618068b4b178257 /src/leap/bitmask/gui/wizard.py | |
parent | 91fb5281f941af7aa36997a0dec4300d65363fb5 (diff) | |
parent | 6f932294e7bf58e66ca117fe46ebe346e10aef0f (diff) |
Merge remote-tracking branch 'ivan/feature/improve-wizard' into develop
Diffstat (limited to 'src/leap/bitmask/gui/wizard.py')
-rw-r--r-- | src/leap/bitmask/gui/wizard.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py index 219270c7..e3f5904e 100644 --- a/src/leap/bitmask/gui/wizard.py +++ b/src/leap/bitmask/gui/wizard.py @@ -155,6 +155,12 @@ class Wizard(QtGui.QWizard): """ ls = LeapSettings() providers = ls.get_configured_providers() + if not providers: + self.ui.rbExistingProvider.setEnabled(False) + self.ui.label_8.setEnabled(False) # 'https://' label + self.ui.cbProviders.setEnabled(False) + return + pinned = [] user_added = [] |