summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
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;
}
}