From 8b1726a8e073ce01723e4961733a3a5170abb992 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Mar 2012 22:37:40 +0300 Subject: Fix stuck after canceling register. --- src/gui/register.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- cgit v1.2.3-70-g09d2