diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-01 01:47:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-01 01:47:48 +0300 |
commit | c99a751167dbbb4189707b8d5ff5872e9db5020a (patch) | |
tree | 687c810f51310cf1a9f3ac79f7cfaad39313993c /src/gui | |
parent | 51126f28cb4b258ba9711fa294652ed87f2451b8 (diff) | |
download | mv-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.gz mv-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.bz2 mv-c99a751167dbbb4189707b8d5ff5872e9db5020a.tar.xz mv-c99a751167dbbb4189707b8d5ff5872e9db5020a.zip |
Move buttons in character selection dialog.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/charselectdialog.cpp | 10 |
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); |