diff options
-rw-r--r-- | changes/bug-5396_disable-next-if-provider-is-changed | 1 | ||||
-rw-r--r-- | src/leap/bitmask/gui/wizard.py | 2 |
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) |