diff options
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index 4ba0fe67..252d9929 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -26,6 +26,7 @@ #include "button.h" #include "checkbox.h" #include "textfield.h" +#include "passwordfield.h" #include "../graphic/graphic.h" @@ -35,7 +36,7 @@ LoginDialog::LoginDialog(gcn::Container *parent): userLabel = new gcn::Label("Name:"); passLabel = new gcn::Label("Password:"); userField = new TextField("player"); - passField = new TextField(); + passField = new PasswordField(); keepCheck = new CheckBox("Keep", false); okButton = new Button("OK"); cancelButton = new Button("Cancel"); |