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 | |
parent | 112d2ad1904051160822d1845d1418cca889c0d5 (diff) | |
download | manaplus-8b1726a8e073ce01723e4961733a3a5170abb992.tar.gz manaplus-8b1726a8e073ce01723e4961733a3a5170abb992.tar.bz2 manaplus-8b1726a8e073ce01723e4961733a3a5170abb992.tar.xz manaplus-8b1726a8e073ce01723e4961733a3a5170abb992.zip |
Fix stuck after canceling register.
-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()) { |