From b8e529c1656db1dc059b3cc1cb8d5319614c3986 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Wed, 2 Apr 2014 18:23:50 -0300 Subject: Reset checks if the provider is changed in wizard. Closes #5396. --- changes/bug-5396_disable-next-if-provider-is-changed | 1 + src/leap/bitmask/gui/wizard.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changes/bug-5396_disable-next-if-provider-is-changed 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) -- cgit v1.2.3