summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/mainwindow.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-03-06 14:40:56 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-03-06 14:47:54 -0300
commitf4893104fb402624f788273bc047aac63da673d7 (patch)
treec94d942dfb3d6d5dbfdd56e7a210f0122a30fb13 /src/leap/bitmask/gui/mainwindow.py
parent2545e54bdb025ff09ef4e12ddf7a4515142b8dc1 (diff)
Select current provider as default in eip settings
Set as selected default for the eip preferences window the item selented in the bitmask main window. [Closes #5153]
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r--src/leap/bitmask/gui/mainwindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index eeab7e2b..13e289fb 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -587,7 +587,8 @@ class MainWindow(QtGui.QMainWindow):
Displays the EIP preferences window.
"""
- EIPPreferencesWindow(self).show()
+ domain = self._login_widget.get_selected_provider()
+ EIPPreferencesWindow(self, domain).show()
#
# updates