summaryrefslogtreecommitdiff
path: root/src/leap/gui/mainwindow.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-06-05 12:25:43 -0300
committerTomás Touceda <chiiph@leap.se>2013-06-05 12:25:43 -0300
commit269f6535fb468ab6789d3efef27c272178e31395 (patch)
tree37596dfab149a133e81dc6f664ae625bdbcbb90d /src/leap/gui/mainwindow.py
parent1addf4b9f098f73443861ee39a4b87455dce5dcf (diff)
parent5b5eef87e8eb41916f2f5657287ac1ad8f0bbfeb (diff)
Merge remote-tracking branch 'ivan/bug/issue-2693_select-configured-provider' into develop
Diffstat (limited to 'src/leap/gui/mainwindow.py')
-rw-r--r--src/leap/gui/mainwindow.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py
index 89f06a1c..f9e088a7 100644
--- a/src/leap/gui/mainwindow.py
+++ b/src/leap/gui/mainwindow.py
@@ -377,6 +377,12 @@ class MainWindow(QtGui.QMainWindow):
if self._wizard:
possible_username = self._wizard.get_username()
possible_password = self._wizard.get_password()
+
+ # select the configured provider in the combo box
+ domain = self._wizard.get_domain()
+ provider_index = self.ui.cmbProviders.findText(domain)
+ self.ui.cmbProviders.setCurrentIndex(provider_index)
+
self.ui.chkRemember.setChecked(self._wizard.get_remember())
self._enabled_services = list(self._wizard.get_services())
self._settings.set_enabled_services(