summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-01 01:47:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-01 01:47:48 +0300
commitc99a751167dbbb4189707b8d5ff5872e9db5020a (patch)
tree687c810f51310cf1a9f3ac79f7cfaad39313993c /src
parent51126f28cb4b258ba9711fa294652ed87f2451b8 (diff)
downloadplus-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.gz
plus-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.bz2
plus-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.xz
plus-c99a751167dbbb4189707b8d5ff5872e9db5020a.zip
Move buttons in character selection dialog.
Diffstat (limited to 'src')
-rw-r--r--src/gui/charselectdialog.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index 8315bb5d4..fd9eb1e88 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -165,20 +165,24 @@ CharSelectDialog::CharSelectDialog(LoginData *const data):
placer(2, 0, mLastLoginLabel);
placer(0, 1, mSwitchLoginButton);
+ int n = 1;
if (optionalActions & Net::LoginHandler::Unregister)
{
mUnregisterButton = new Button(this, _("Unregister"),
"unregister", this);
- placer(3, 1, mUnregisterButton);
+ placer(n, 1, mUnregisterButton);
+ n ++;
}
- placer(0, 2, mChangePasswordButton);
+ placer(n, 1, mChangePasswordButton);
+ n ++;
if (optionalActions & Net::LoginHandler::ChangeEmail)
{
mChangeEmailButton = new Button(this, _("Change Email"),
"change_email", this);
- placer(3, 2, mChangeEmailButton);
+ placer(n, 1, mChangeEmailButton);
+ n ++;
}
placer = getPlacer(0, 1);