summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-16 22:37:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-16 22:37:40 +0300
commit8b1726a8e073ce01723e4961733a3a5170abb992 (patch)
tree8a904263813624800d92dba0f3d9a9dc465783ad /src/gui
parent112d2ad1904051160822d1845d1418cca889c0d5 (diff)
downloadmv-8b1726a8e073ce01723e4961733a3a5170abb992.tar.gz
mv-8b1726a8e073ce01723e4961733a3a5170abb992.tar.bz2
mv-8b1726a8e073ce01723e4961733a3a5170abb992.tar.xz
mv-8b1726a8e073ce01723e4961733a3a5170abb992.zip
Fix stuck after canceling register.
Diffstat (limited to 'src/gui')
-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())
{