summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-07 15:31:54 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-07 15:31:54 -0600
commit11b3ff85e9dc8f39ddcfdff511c6340b899ba414 (patch)
treea63ab360f58ac4e76066b1969e75a6e53a49a000 /src/gui/charselectdialog.cpp
parentf708a9bf4aeff8781ec5697ff3936e5791a9137a (diff)
downloadmana-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.cpp6
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;
}
}