summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-10-08 11:50:00 -0300
committerTomás Touceda <chiiph@leap.se>2013-10-08 12:01:02 -0300
commit95cb17d6ec36a3d9e2e90b944af651fb6f4acd76 (patch)
treef4784db329429dc91c09b7bd272039ca59e63618
parent4447976dfb46345925c258481071495d9cc0bb64 (diff)
Hide login error message when editing lnUser and lnPassword
-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