src/hbwidgets/editors/hblineedit_p.cpp
changeset 28 b7da29130b0e
parent 21 4633027730f5
--- a/src/hbwidgets/editors/hblineedit_p.cpp	Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbwidgets/editors/hblineedit_p.cpp	Fri Sep 17 08:32:10 2010 +0300
@@ -158,8 +158,7 @@
     }
 
     if (result) {
-        // Don not allow key events in HbLineEdit::Password or HbLineEdit::NoEcho mode
-        if (echoMode == HbLineEdit::Password || echoMode == HbLineEdit::NoEcho) {
+        if (isPasswordMode()) {
             result = false;
         }
     }