summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/register.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp
index eebbfa603..33c507a63 100644
--- a/src/gui/register.cpp
+++ b/src/gui/register.cpp
@@ -165,7 +165,7 @@ void RegisterDialog::action(const gcn::ActionEvent &event)
{
if (event.getId() == "cancel")
{
- Client::setState(STATE_PRE_LOGIN);
+ Client::setState(STATE_LOGIN);
}
else if (event.getId() == "register" && canSubmit())
{