diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-08-20 16:52:43 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-08-20 16:52:43 -0300 |
commit | 37df6fde3fab3adfc9f7e733f165c2a35e510acf (patch) | |
tree | 06eecf6a96567fcf5f282caffb463c843799f883 /src/leap/bitmask/gui/eip_preferenceswindow.py | |
parent | 20122b32ad799cf93d88c86c67d52cc7004d6af8 (diff) | |
parent | b6ab5790e8b2ac0d67bf0eb40e474b8bed4c42dd (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/bug/eip-preferences-and-logout' into develop
Diffstat (limited to 'src/leap/bitmask/gui/eip_preferenceswindow.py')
-rw-r--r-- | src/leap/bitmask/gui/eip_preferenceswindow.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/eip_preferenceswindow.py b/src/leap/bitmask/gui/eip_preferenceswindow.py index 0f63972f..b5788f3c 100644 --- a/src/leap/bitmask/gui/eip_preferenceswindow.py +++ b/src/leap/bitmask/gui/eip_preferenceswindow.py @@ -116,11 +116,14 @@ class EIPPreferencesWindow(QtGui.QDialog): self.ui.gbGatewaySelector.setEnabled(False) return + # block signals so the currentIndexChanged slot doesn't get triggered + self.ui.cbProvidersGateway.blockSignals(True) for provider, is_initialized in providers: label = provider if not is_initialized: label += self.tr(" (uninitialized)") self.ui.cbProvidersGateway.addItem(label, userData=provider) + self.ui.cbProvidersGateway.blockSignals(False) # Select provider by name domain = self._selected_domain |