summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug-3582_set-appropiate-message-on-login-cancel1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug-3582_set-appropiate-message-on-login-cancel b/changes/bug-3582_set-appropiate-message-on-login-cancel
new file mode 100644
index 00000000..3ad11490
--- /dev/null
+++ b/changes/bug-3582_set-appropiate-message-on-login-cancel
@@ -0,0 +1 @@
+ o Set appropiate error on login cancel. Closes #3582.
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index 7a94fd0f..759a591b 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -891,6 +891,8 @@ class MainWindow(QtGui.QMainWindow):
logger.debug("Cancelling login defer.")
self._login_defer.cancel()
+ self._login_widget.set_status(self.tr("Log in cancelled by the user."))
+
def _provider_config_loaded(self, data):
"""
SLOT