Completely hiding passwords because Qt doesn't have the partial hide-on-edit that...
authorEd Page <eopage@byu.net>
Sat, 8 Jan 2011 19:23:01 +0000 (13:23 -0600)
committerEd Page <eopage@byu.net>
Sat, 8 Jan 2011 19:23:01 +0000 (13:23 -0600)
src/dialogs.py

index 2f989b4..dcd6078 100644 (file)
@@ -23,7 +23,7 @@ class CredentialsDialog(object):
        def __init__(self, app):
                self._usernameField = QtGui.QLineEdit()
                self._passwordField = QtGui.QLineEdit()
-               self._passwordField.setEchoMode(QtGui.QLineEdit.PasswordEchoOnEdit)
+               self._passwordField.setEchoMode(QtGui.QLineEdit.Password)
 
                self._credLayout = QtGui.QGridLayout()
                self._credLayout.addWidget(QtGui.QLabel("Username"), 0, 0)