diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-04-14 12:09:20 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-04-14 12:09:20 -0300 |
commit | e29dba903d5ebce051adbe8b28ba745082072650 (patch) | |
tree | 86c4576ded4dcaf65860e9855e6af78a53e7518f | |
parent | 16165296ef5d9d0964b5820dbe707c3b0adaffc2 (diff) | |
parent | c6c67fd8d9c40fec61c9f7ee7677544301f437dd (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/bug/5497_hide-bandwidth-on-openvpn-killed' into develop
-rw-r--r-- | changes/bug-5497_hide-bandwidth-on-openvpn-killed | 1 | ||||
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug-5497_hide-bandwidth-on-openvpn-killed b/changes/bug-5497_hide-bandwidth-on-openvpn-killed new file mode 100644 index 00000000..28484605 --- /dev/null +++ b/changes/bug-5497_hide-bandwidth-on-openvpn-killed @@ -0,0 +1 @@ +- Hide the bandwidth widget and update status icon if the openvpn process is killed. Closes #5497. diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 9d0f9145..56ac1545 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -1783,6 +1783,8 @@ class MainWindow(QtGui.QMainWindow): elif exitCode != 0 or not self.user_stopped_eip: eip_status_label = self.tr("{0} finished in an unexpected manner!") eip_status_label = eip_status_label.format(self._eip_name) + self._eip_status.eip_stopped() + self._eip_status.set_eip_status_icon("error") self._eip_status.set_eip_status(eip_status_label, error=True) signal = qtsigs.connection_died_signal |