diff options
-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 |