summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-10-08 12:06:44 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-10-08 12:06:44 -0300
commit7f2eb30f8c8a81dd877cea61e965f4331441d9ec (patch)
treef4784db329429dc91c09b7bd272039ca59e63618
parent4447976dfb46345925c258481071495d9cc0bb64 (diff)
parent95cb17d6ec36a3d9e2e90b944af651fb6f4acd76 (diff)
Merge remote-tracking branch 'chiiph/bug/hide_error_message' into develop
-rw-r--r--changes/bug_hide_error_message2
-rw-r--r--src/leap/bitmask/gui/login.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug_hide_error_message b/changes/bug_hide_error_message
new file mode 100644
index 00000000..512f35da
--- /dev/null
+++ b/changes/bug_hide_error_message
@@ -0,0 +1,2 @@
+ o Hide login error message when the user interacts with the widgets
+ to fix the potential problem. Fixes #4022. \ No newline at end of file
diff --git a/src/leap/bitmask/gui/login.py b/src/leap/bitmask/gui/login.py
index 582f26be..c8c5c402 100644
--- a/src/leap/bitmask/gui/login.py
+++ b/src/leap/bitmask/gui/login.py
@@ -94,6 +94,9 @@ class LoginWidget(QtGui.QWidget):
self.ui.clblErrorMsg.hide()
self.ui.clblErrorMsg.clicked.connect(self.ui.clblErrorMsg.hide)
+ self.ui.lnUser.textEdited.connect(self.ui.clblErrorMsg.hide)
+ self.ui.lnPassword.textEdited.connect(self.ui.clblErrorMsg.hide)
+
def _remember_state_changed(self, state):
"""
Saves the remember state in the LeapSettings