summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-01 18:58:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 20:38:47 +0300
commita1d592f55539ad5031d92feb4da049825e986783 (patch)
treed6e32c6e207de1a5af3e119ed457313b01dbb5df /src
parent8b1922e8e7a227090cf01b05e65209076dec9df5 (diff)
downloadmanaplus-a1d592f55539ad5031d92feb4da049825e986783.tar.gz
manaplus-a1d592f55539ad5031d92feb4da049825e986783.tar.bz2
manaplus-a1d592f55539ad5031d92feb4da049825e986783.tar.xz
manaplus-a1d592f55539ad5031d92feb4da049825e986783.zip
Fix stuck if press ESC in update window.
Diffstat (limited to 'src')
-rw-r--r--src/gui/updaterwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index cacb95972..e6ad1818e 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -263,7 +263,7 @@ void UpdaterWindow::keyPressed(gcn::KeyEvent &keyEvent)
if (key.getValue() == Key::ESCAPE)
{
action(gcn::ActionEvent(nullptr, mCancelButton->getActionEventId()));
- Client::setState(STATE_WORLD_SELECT);
+ Client::setState(STATE_LOGIN);
}
else if (key.getValue() == Key::ENTER)
{