From 11b3ff85e9dc8f39ddcfdff511c6340b899ba414 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 7 Oct 2009 15:31:54 -0600 Subject: Clean up state machine some more --- src/gui/charselectdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/charselectdialog.cpp') 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; } } -- cgit v1.2.3-70-g09d2