diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-16 22:37:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-16 22:37:40 +0300 |
commit | 8b1726a8e073ce01723e4961733a3a5170abb992 (patch) | |
tree | 8a904263813624800d92dba0f3d9a9dc465783ad /src/gui/register.cpp | |
parent | 112d2ad1904051160822d1845d1418cca889c0d5 (diff) | |
download | manaverse-8b1726a8e073ce01723e4961733a3a5170abb992.tar.gz manaverse-8b1726a8e073ce01723e4961733a3a5170abb992.tar.bz2 manaverse-8b1726a8e073ce01723e4961733a3a5170abb992.tar.xz manaverse-8b1726a8e073ce01723e4961733a3a5170abb992.zip |
Fix stuck after canceling register.
Diffstat (limited to 'src/gui/register.cpp')
-rw-r--r-- | src/gui/register.cpp | 2 |
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()) { |