summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 15d1e6e0e..638691bab 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -2,7 +2,7 @@
* The ManaPlus Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
- * Copyright (C) 2011 The ManaPlus Developers
+ * Copyright (C) 2011-2012 The ManaPlus Developers
*
* This file is part of The ManaPlus Client.
*
@@ -135,6 +135,7 @@ CharSelectDialog::CharSelectDialog(LoginData *data):
setCloseButton(false);
mAccountNameLabel = new Label(mLoginData->username);
+ mLastLoginLabel = new Label(mLoginData->lastLogin);
mSwitchLoginButton = new Button(_("Switch Login"), "switch", this);
mChangePasswordButton = new Button(_("Change Password"), "change_password",
this);
@@ -145,6 +146,7 @@ CharSelectDialog::CharSelectDialog(LoginData *data):
placer = getPlacer(0, 0);
placer(0, 0, mAccountNameLabel, 2);
+ placer(2, 0, mLastLoginLabel);
placer(0, 1, mSwitchLoginButton);
if (optionalActions & Net::LoginHandler::Unregister)