summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-04-03 11:59:29 -0300
committerTomás Touceda <chiiph@leap.se>2014-04-03 11:59:29 -0300
commit2621e84a897ec8a7aee03652e705013305b5385e (patch)
treecad4ac25759087dcba921659c140c80c2488a116
parent5ba94ca43aefc618cbbdbb27f077ce346ac0ef35 (diff)
parentb8e529c1656db1dc059b3cc1cb8d5319614c3986 (diff)
Merge remote-tracking branch 'refs/remotes/ivan/bug/5396_disable-next-if-provider-is-changed' into develop
-rw-r--r--changes/bug-5396_disable-next-if-provider-is-changed1
-rw-r--r--src/leap/bitmask/gui/wizard.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug-5396_disable-next-if-provider-is-changed b/changes/bug-5396_disable-next-if-provider-is-changed
new file mode 100644
index 00000000..5a7a3449
--- /dev/null
+++ b/changes/bug-5396_disable-next-if-provider-is-changed
@@ -0,0 +1 @@
+- Disable 'next' button if the checks passed but the provider is changed. Closes #5396.
diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py
index 2f274e33..e2c1a16e 100644
--- a/src/leap/bitmask/gui/wizard.py
+++ b/src/leap/bitmask/gui/wizard.py
@@ -103,6 +103,8 @@ class Wizard(QtGui.QWizard):
self.ui.lnProvider.textChanged.connect(self._enable_check)
self.ui.rbNewProvider.toggled.connect(
lambda x: self._enable_check())
+ self.ui.cbProviders.currentIndexChanged[int].connect(
+ self._reset_provider_check)
self.ui.lblUser.returnPressed.connect(
self._focus_password)