diff --git a/src/qt/textctrl.cpp b/src/qt/textctrl.cpp index c600216903..d9069b9b60 100644 --- a/src/qt/textctrl.cpp +++ b/src/qt/textctrl.cpp @@ -121,6 +121,8 @@ bool wxTextCtrl::Create(wxWindow *parent, { m_qtLineEdit = new wxQtLineEdit( parent, this ); m_qtTextEdit = NULL; + if( style & wxTE_PASSWORD ) + m_qtLineEdit->setEchoMode( QLineEdit::Password ); } else {