diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
commit | 11b3ff85e9dc8f39ddcfdff511c6340b899ba414 (patch) | |
tree | a63ab360f58ac4e76066b1969e75a6e53a49a000 /src/gui/charselectdialog.cpp | |
parent | f708a9bf4aeff8781ec5697ff3936e5791a9137a (diff) | |
download | mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.gz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.bz2 mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.xz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.zip |
Clean up state machine some more
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 43748765..2bb9cff3 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -210,15 +210,15 @@ void CharSelectDialog::action(const gcn::ActionEvent &event) } else if (event.getId() == "change_password") { - new ChangePasswordDialog(this, mLoginData); + state = STATE_CHANGEPASSWORD; } else if (event.getId() == "change_email") { - new ChangeEmailDialog(this, mLoginData); + state = STATE_CHANGEEMAIL; } else if (event.getId() == "unregister") { - new UnRegisterDialog(this, mLoginData); + state = STATE_UNREGISTER; } } |