summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-08-19 18:04:04 -0300
committerTomás Touceda <chiiph@leap.se>2014-08-20 11:34:01 -0300
commit58567c72d9a493bfdb16dcb253aa4ae91ebe42eb (patch)
tree7fa5549d76e036c32ac75d28a6aaaff8a0176bbd
parent9d241c2f90f15839c423f7159c796c9ef6dd1ccd (diff)
Update and get ready to start a provider on change.
Closes #5996, #5997.
-rw-r--r--changes/bug-5996_update-eip-status-on-change1
-rw-r--r--changes/bug-5997_get-ready-provider-on-change1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py2
3 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug-5996_update-eip-status-on-change b/changes/bug-5996_update-eip-status-on-change
new file mode 100644
index 00000000..665092f0
--- /dev/null
+++ b/changes/bug-5996_update-eip-status-on-change
@@ -0,0 +1 @@
+- Update the EIP status on provider change. Closes #5996.
diff --git a/changes/bug-5997_get-ready-provider-on-change b/changes/bug-5997_get-ready-provider-on-change
new file mode 100644
index 00000000..e6b3f7f1
--- /dev/null
+++ b/changes/bug-5997_get-ready-provider-on-change
@@ -0,0 +1 @@
+- Update and get ready to start a provider on change. Closes #5997.
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 60605b48..59896bbb 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1257,6 +1257,7 @@ class MainWindow(QtGui.QMainWindow):
else:
self._settings.set_provider(provider)
self._settings.set_defaultprovider(provider)
+ self._update_eip_enabled_status()
return
title = self.tr("Stop services")
@@ -1278,6 +1279,7 @@ class MainWindow(QtGui.QMainWindow):
self._settings.set_defaultprovider(provider)
self._settings.set_autostart_eip(False)
self._stop_services()
+ self._update_eip_enabled_status()
self._eip_conductor.qtsigs.do_disconnect_signal.emit()
if wizard:
self._launch_wizard()